arcconf/debian/rules

127 lines
5.1 KiB
Plaintext
Raw Normal View History

2017-04-25 04:07:49 +02:00
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
clean:
dh_testdir
dh_testroot
dh_clean
install:
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
ifeq ($(DEB_BUILD_ARCH),amd64)
2017-11-11 19:43:11 +01:00
install -D -m 0755 debian/arcconf.wrapper64 \
debian/arcconf/usr/sbin/arcconf
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/centos5/libstdc++.so.6.0.8
2017-05-17 22:36:31 +02:00
install -D -m 0755 amd64/centos5/libstdc++.so.6.0.8 \
2017-05-19 18:08:24 +02:00
debian/arcconf/usr/lib/arcconf/libstdcv4.so.6.0.8
ln -s libstdcv4.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv4.so.6
2017-10-31 17:14:36 +01:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.05/arcconf
install -D -m 0755 amd64/2.05/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.05
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.04/arcconf
install -D -m 0755 amd64/2.04/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.04
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.03/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/2.03/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.03
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.02/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/2.02/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.02
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.01/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/2.01/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.01
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/2.00/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/2.00/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.00
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.08/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/1.08/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.08
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.07/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/1.07/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.07
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.06/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/1.06/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.06
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.05/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/1.05/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.05
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" amd64/1.04/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 amd64/1.04/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.04
2017-11-01 12:13:51 +01:00
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" amd64/7.31/libstdc++.so.5
2017-11-01 12:23:17 +01:00
install -D -m 0755 amd64/7.31/libstdc++.so.5 \
2017-11-01 12:13:51 +01:00
debian/arcconf/usr/lib/arcconf/libstdcv3.so.5
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" amd64/7.31/arcconf
install -D -m 0755 amd64/7.31/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-7.31
2018-01-11 16:13:41 +01:00
install -D -m 0755 i386/4.30/libstdc++-libc6.2-2.so.3 \
debian/arcconf/usr/lib/arcconf/libstdc++-libc6.2-2.so.3
install -D -m 0755 amd64/4.30/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-4.30
2017-04-25 04:07:49 +02:00
endif
ifeq ($(DEB_BUILD_ARCH),i386)
2017-11-11 19:43:11 +01:00
install -D -m 0755 debian/arcconf.wrapper32 \
debian/arcconf/usr/sbin/arcconf
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/centos5/libstdc++.so.6.0.8
2017-05-17 22:36:31 +02:00
install -D -m 0755 i386/centos5/libstdc++.so.6.0.8 \
2017-05-19 18:08:24 +02:00
debian/arcconf/usr/lib/arcconf/libstdcv4.so.6.0.8
ln -s libstdcv4.so.6.0.8 debian/arcconf/usr/lib/arcconf/libstdcv4.so.6
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/2.01/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 i386/2.01/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.01
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/2.00/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 i386/2.00/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-2.00
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.08/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 i386/1.08/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.08
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.07/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 i386/1.07/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.07
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.06/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 i386/1.06/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.06
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.05/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 i386/1.05/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.05
2017-05-19 18:08:24 +02:00
sed -i "s/libstdc++.so.6/libstdcv4.so.6/g" i386/1.04/arcconf
2017-04-25 04:07:49 +02:00
install -D -m 0755 i386/1.04/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-1.04
2017-11-01 12:13:51 +01:00
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" i386/7.31/libstdc++.so.5
2017-11-01 12:23:17 +01:00
install -D -m 0755 i386/7.31/libstdc++.so.5 \
2017-11-01 12:13:51 +01:00
debian/arcconf/usr/lib/arcconf/libstdcv3.so.5
sed -i "s/libstdc++.so.5/libstdcv3.so.5/g" i386/7.31/arcconf
install -D -m 0755 i386/7.31/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-7.31
2018-01-11 16:13:41 +01:00
install -D -m 0755 i386/4.30/libstdc++-libc6.2-2.so.3 \
debian/arcconf/usr/lib/arcconf/libstdc++-libc6.2-2.so.3
install -D -m 0755 i386/4.30/arcconf \
debian/arcconf/usr/lib/arcconf/arcconf-4.30
2017-04-25 04:07:49 +02:00
endif
dh_install
binary-indep: build install
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_link
dh_compress
dh_fixperms
dh_makeshlibs
dh_strip
dh_installdeb
2017-05-19 18:04:17 +02:00
LD_LIBRARY_PATH=$$(pwd)/debian/arcconf/usr/lib/arcconf:$${LD_LIBRARY_PATH} dh_shlibdeps
2017-04-25 04:07:49 +02:00
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-arch binary-indep
.PHONY: build clean binary-indep binary-arch binary install