Maemo still using the dh_make compatible with debian helper 5.
Dowgrading to make it work with the Scratchbox.
Signed-off-by: Felipe Zimmerle <felipe@zimmerle.org>
Section: apps
Priority: extra
Maintainer: Felipe Zimmerle <felipe@zimmerle.org>
Section: apps
Priority: extra
Maintainer: Felipe Zimmerle <felipe@zimmerle.org>
-Build-Depends: debhelper (>= 7)
-Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
Homepage: http://slock.garage.maemo.org/
Package: slock
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Homepage: http://slock.garage.maemo.org/
Package: slock
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Fancy screen lock
+Description: a fancy screen lock
This software will provide a way to lock and unlock your device
with a good relation between the usability and the security.
This software will provide a way to lock and unlock your device
with a good relation between the usability and the security.
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
configure: configure-stamp
configure-stamp:
configure: configure-stamp
configure-stamp:
-build-stamp: configure-stamp
+build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
dh_testdir
# Add here commands to compile the package.
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean
install: build
dh_testdir
dh_testroot
dh_installdirs
# Add here commands to install the package into debian/slock.
dh_installdirs
# Add here commands to install the package into debian/slock.
# Build architecture-independent files here.
# Build architecture-independent files here.
+binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
# We have nothing to do by default.
# Build architecture-dependent files here.
+binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_testdir
dh_testroot
dh_installchangelogs
dh_installexamples
# dh_install
# dh_installmenu
dh_installexamples
# dh_install
# dh_installmenu
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installlogrotate
# dh_installemacsen
# dh_installpam