trying to get deb-build working
authorAlan Knowles <alan@roojs.com>
Fri, 17 May 2019 02:24:29 +0000 (10:24 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 17 May 2019 02:24:29 +0000 (10:24 +0800)
debian/changelog
debian/control
debian/rules

index 26b1e89..66a0d43 100644 (file)
@@ -1,4 +1,4 @@
-roojspacker (1.1) unstable; urgency=medium
+roojspacker (1.2) unstable; urgency=medium
 
   * Initial Release.
 
index 1587660..b6c429d 100644 (file)
@@ -4,12 +4,14 @@ Priority: optional
 Maintainer: Alan <alan@roojs.com>
 Build-Depends: debhelper (>= 11), autotools-dev
 Standards-Version: 4.1.3
-Homepage: <insert the upstream URL, if relevant>
-#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: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Description: Javascript compressor, packer and documentation tool
+ includes sharable library for use with C / Gnome etc..
+
+
+
index 3d14df5..2d8809e 100755 (executable)
@@ -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