* Switch to quilt for patch management.
* 02_hurd_stub_backend.patch: re-add an implementation of the stub backend, for the Hurd. Closes: #557446. * 03_kfreebsd_installdirs.patch: patch to install binaries in libexecdir so that we can version the installation directory. Also use DESTDIR in the installation hooks. * Rename 90_autoconf.patch to 90_autotools.patch, re-run all the autotools on top of that. * Pass a versioned libexecdir to the configure arguments. * Install the server binary on kfreebsd. * Exclude it from dh_fixperms.
This commit is contained in:
18
debian/rules
vendored
18
debian/rules
vendored
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
||||
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
|
||||
include /usr/share/cdbs/1/rules/utils.mk
|
||||
include /usr/share/cdbs/1/class/gnome.mk
|
||||
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
|
||||
@@ -9,5 +9,19 @@ include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
|
||||
|
||||
GNOME_MODULE := libgtop
|
||||
|
||||
SHARED_PKG := libgtop2-7
|
||||
|
||||
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
|
||||
DEB_DH_MAKESHLIBS_ARGS_ALL += -V 'libgtop2-7 (>= 2.23.2)'
|
||||
DEB_DH_MAKESHLIBS_ARGS_ALL += -V '$(SHARED_PKG) (>= 2.23.2)'
|
||||
|
||||
DEB_CONFIGURE_EXTRA_FLAGS += --libexecdir=/usr/lib/$(SHARED_PKG)
|
||||
|
||||
DEB_FIXPERMS_EXCLUDE += libgtop_server2
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
|
||||
install/$(SHARED_PKG)::
|
||||
# The server is only necessary on kFreeBSD
|
||||
dh_install --autodest -p$(SHARED_PKG) \
|
||||
--ignore=debian/$(SHARED_PKG).install \
|
||||
debian/tmp/usr/lib/*/libgtop_server2
|
||||
endif
|
||||
|
Reference in New Issue
Block a user