From: Alan Knowles Date: Fri, 17 May 2019 02:24:29 +0000 (+0800) Subject: trying to get deb-build working X-Git-Tag: release-1.5~25 X-Git-Url: http://git.roojs.org/?p=roojspacker;a=commitdiff_plain;h=c4e6d9aa7302a8f063071b887f8971b5eb8d317d trying to get deb-build working --- diff --git a/debian/changelog b/debian/changelog index 26b1e89..66a0d43 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -roojspacker (1.1) unstable; urgency=medium +roojspacker (1.2) unstable; urgency=medium * Initial Release. diff --git a/debian/control b/debian/control index 1587660..b6c429d 100644 --- a/debian/control +++ b/debian/control @@ -4,12 +4,14 @@ Priority: optional Maintainer: Alan Build-Depends: debhelper (>= 11), autotools-dev Standards-Version: 4.1.3 -Homepage: -#Vcs-Browser: https://salsa.debian.org/debian/roojspacker -#Vcs-Git: https://salsa.debian.org/debian/roojspacker.git +Homepage: https://github.com/roojs/roojspacker +Vcs-Git: https://github.com/roojs/roojspacker.git Package: roojspacker Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Description: - +Description: Javascript compressor, packer and documentation tool + includes sharable library for use with C / Gnome etc.. + + + diff --git a/debian/rules b/debian/rules index 3d14df5..2d8809e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,7 @@ #!/usr/bin/make -f # See debhelper(7) (uncomment to enable) # output every command that modifies files on the build system. -#export DH_VERBOSE = 1 +export DH_VERBOSE = 1 # see FEATURE AREAS in dpkg-buildflags(1) @@ -13,6 +13,9 @@ # package maintainers to append LDFLAGS #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +override_dh_auto_test: +override_dh_usrlocal: + %: dh $@ --buildsystem=cmake @@ -20,6 +23,6 @@ # dh_make generated override targets # This is example for Cmake (See https://bugs.debian.org/641051 ) -#override_dh_auto_configure: -# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) +override_dh_auto_configure: + dh_auto_configure -- -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -DCMAKE_INSTALL_BINDIR=$(DEB_HOST_MULTIARCH)/bin -DCMAKE_INSTALL_LIBDIR=$(DEB_HOST_MULTIARCH)/lib