still wrong

This commit is contained in:
Mario Fetka 2017-05-19 18:08:24 +02:00
parent 0ff5bde24d
commit db7264ce1d

44
debian/rules vendored
View File

@ -16,64 +16,64 @@ install:
ifeq ($(DEB_BUILD_ARCH),amd64) ifeq ($(DEB_BUILD_ARCH),amd64)
install -D -m 0755 debian/arcconf.wrapper \ install -D -m 0755 debian/arcconf.wrapper \
debian/arcconf/usr/sbin/arcconf debian/arcconf/usr/sbin/arcconf
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/centos5/libstdc++.so.6.0.8 sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/centos5/libstdc++.so.6.0.8
install -D -m 0755 amd64/centos5/libstdc++.so.6.0.8 \ install -D -m 0755 amd64/centos5/libstdc++.so.6.0.8 \
debian/arcconf/usr/lib/arcconf/libstdcv6.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv4.so.6.0.8
ln -s libstdcv6.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv6.so.6 ln -s libstdcv4.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv4.so.6
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/2.03/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.03/arcconf
install -D -m 0755 amd64/2.03/arcconf \ install -D -m 0755 amd64/2.03/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.03 debian/arcconf/usr/lib/arcconf/arcconf-2.03
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/2.02/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.02/arcconf
install -D -m 0755 amd64/2.02/arcconf \ install -D -m 0755 amd64/2.02/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.02 debian/arcconf/usr/lib/arcconf/arcconf-2.02
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/2.01/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.01/arcconf
install -D -m 0755 amd64/2.01/arcconf \ install -D -m 0755 amd64/2.01/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.01 debian/arcconf/usr/lib/arcconf/arcconf-2.01
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/2.00/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.00/arcconf
install -D -m 0755 amd64/2.00/arcconf \ install -D -m 0755 amd64/2.00/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.00 debian/arcconf/usr/lib/arcconf/arcconf-2.00
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/1.08/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.08/arcconf
install -D -m 0755 amd64/1.08/arcconf \ install -D -m 0755 amd64/1.08/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.08 debian/arcconf/usr/lib/arcconf/arcconf-1.08
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/1.07/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.07/arcconf
install -D -m 0755 amd64/1.07/arcconf \ install -D -m 0755 amd64/1.07/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.07 debian/arcconf/usr/lib/arcconf/arcconf-1.07
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/1.06/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.06/arcconf
install -D -m 0755 amd64/1.06/arcconf \ install -D -m 0755 amd64/1.06/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.06 debian/arcconf/usr/lib/arcconf/arcconf-1.06
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/1.05/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.05/arcconf
install -D -m 0755 amd64/1.05/arcconf \ install -D -m 0755 amd64/1.05/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.05 debian/arcconf/usr/lib/arcconf/arcconf-1.05
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" amd64/1.04/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.04/arcconf
install -D -m 0755 amd64/1.04/arcconf \ install -D -m 0755 amd64/1.04/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.04 debian/arcconf/usr/lib/arcconf/arcconf-1.04
endif endif
ifeq ($(DEB_BUILD_ARCH),i386) ifeq ($(DEB_BUILD_ARCH),i386)
install -D -m 0755 debian/arcconf.wrapper \ install -D -m 0755 debian/arcconf.wrapper \
debian/arcconf/usr/sbin/arcconf debian/arcconf/usr/sbin/arcconf
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" i386/centos5/libstdc++.so.6.0.8 sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/centos5/libstdc++.so.6.0.8
install -D -m 0755 i386/centos5/libstdc++.so.6.0.8 \ install -D -m 0755 i386/centos5/libstdc++.so.6.0.8 \
debian/arcconf/usr/lib/arcconf/libstdcv6.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv4.so.6.0.8
ln -s libstdcv6.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv6.so.6 ln -s libstdcv4.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv4.so.6
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" i386/2.01/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/2.01/arcconf
install -D -m 0755 i386/2.01/arcconf \ install -D -m 0755 i386/2.01/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.01 debian/arcconf/usr/lib/arcconf/arcconf-2.01
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" i386/2.00/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/2.00/arcconf
install -D -m 0755 i386/2.00/arcconf \ install -D -m 0755 i386/2.00/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.00 debian/arcconf/usr/lib/arcconf/arcconf-2.00
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" i386/1.08/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.08/arcconf
install -D -m 0755 i386/1.08/arcconf \ install -D -m 0755 i386/1.08/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.08 debian/arcconf/usr/lib/arcconf/arcconf-1.08
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" i386/1.07/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.07/arcconf
install -D -m 0755 i386/1.07/arcconf \ install -D -m 0755 i386/1.07/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.07 debian/arcconf/usr/lib/arcconf/arcconf-1.07
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" i386/1.06/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.06/arcconf
install -D -m 0755 i386/1.06/arcconf \ install -D -m 0755 i386/1.06/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.06 debian/arcconf/usr/lib/arcconf/arcconf-1.06
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" i386/1.05/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.05/arcconf
install -D -m 0755 i386/1.05/arcconf \ install -D -m 0755 i386/1.05/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.05 debian/arcconf/usr/lib/arcconf/arcconf-1.05
sed -i "s/libstdc++.so.6/libstdcv3.so.6/g" i386/1.04/arcconf sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.04/arcconf
install -D -m 0755 i386/1.04/arcconf \ install -D -m 0755 i386/1.04/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.04 debian/arcconf/usr/lib/arcconf/arcconf-1.04
endif endif