mirror of
https://github.com/Project-OSS-Revival/alien.git
synced 2026-04-24 14:00:17 +00:00
* Updated to use debhelper v3 when converting packages. This
automatically should make it start adding ldconfig calls
as appropriate to maintainer scripts. Closes: #86088
* It does mean you need debhelper 3.x for alien to convert to
deb now, so alien-extra will need an update.
This commit is contained in:
@@ -311,13 +311,18 @@ sub prep {
|
||||
|
||||
# A minimal rules file.
|
||||
open (OUT, ">$dir/debian/rules") || die "$dir/debian/rules: $!";
|
||||
print OUT <<EOF;
|
||||
print OUT << 'EOF';
|
||||
#!/usr/bin/make -f
|
||||
# debian/rules for alien
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
# Use v3 compatability mode, so ldconfig gets added to maint scripts.
|
||||
export DH_COMAPT=3
|
||||
|
||||
PACKAGE=$(shell dh_listpackages)
|
||||
|
||||
build:
|
||||
dh_testdir
|
||||
|
||||
@@ -333,15 +338,17 @@ binary-arch: build
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
cp -a `ls -1 |grep -v debian` debian/tmp
|
||||
cp -a `ls -1 |grep -v debian` debian/$(PACKAGE)
|
||||
#
|
||||
# If you need to move files around in debian/tmp or do some
|
||||
# binary patching ... Insert it here
|
||||
# If you need to move files around in debian//$(PACKAGE) or do some
|
||||
# binary patching, do it here
|
||||
#
|
||||
dh_installdocs
|
||||
dh_installchangelogs
|
||||
# This has been known to break on some wacky binaries.
|
||||
# dh_strip
|
||||
dh_compress
|
||||
# This is too paramoid to be generally useful to alien.
|
||||
# dh_fixperms
|
||||
dh_installdeb
|
||||
-dh_shlibdeps
|
||||
|
||||
Reference in New Issue
Block a user