Debianized.
authorsalva <salva@salva-desktop.(none)>
Wed, 2 Dec 2009 18:35:03 +0000 (20:35 +0200)
committersalva <salva@salva-desktop.(none)>
Wed, 2 Dec 2009 18:35:03 +0000 (20:35 +0200)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/libmaemo-tweaks0.install [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..324fd19
--- /dev/null
@@ -0,0 +1,5 @@
+maemo-tweaks (0.0.1-1) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Salvatore Iovene <salvatore@iovene.com>  Wed,  2 Dec 2009 20:20:27 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..cc77cbc
--- /dev/null
@@ -0,0 +1,13 @@
+Source: maemo-tweaks
+Priority: optional
+Maintainer: Salvatore Iovene <salvatore@iovene.com>
+Build-Depends: debhelper (>= 4.1.0), cdbs, libgtk2.0-dev, libhildon1-dev, libosso-dev
+Standards-Version: 3.6.0
+
+Package: libmaemo-tweaks0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:depends}
+Description: Control panel applet for tweaking various settings
+ An applet that tweaks various settings otherwise hardly accessible.
+
diff --git a/debian/libmaemo-tweaks0.install b/debian/libmaemo-tweaks0.install
new file mode 100644 (file)
index 0000000..18fa5e2
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/hildon-control-panel/libmaemo-tweaks.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..c06f458
--- /dev/null
@@ -0,0 +1,45 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+DEB_DH_INSTALL_SOURCEDIR=debian/tmp
+DEB_DESTDIR=$(CURDIR)/debian/tmp
+DEB_DH_MAKESHLIBS_ARGS := --exclude=plugin --exclude=applet --exclude=glade
+
+ifeq (,$(findstring nolauncher,$(DEB_BUILD_OPTIONS)))
+       DEB_CONFIGURE_EXTRA_FLAGS += --enable-maemo-launcher
+endif
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+       DEB_CONFIGURE_EXTRA_FLAGS += --enable-debug
+else
+       DEB_CONFIGURE_EXTRA_FLAGS += --disable-cast-checks
+endif
+ifneq (,$(findstring coverage,$(DEB_BUILD_OPTIONS)))
+       SBOX_USE_CCACHE := no
+       DEB_CONFIGURE_EXTRA_FLAGS += --enable-coverage
+endif
+# do not generate docs if gcov is enabled
+ifeq (,$(findstring coverage,$(DEB_BUILD_OPTIONS)))
+       DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc
+endif
+
+ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS)))
+       PARALLEL_JOBS := $(shell echo $(DEB_BUILD_OPTIONS) | \
+               sed -e 's/.*parallel=\([0-9]\+\).*/\1/')
+       ifeq ($(DEB_BUILD_OPTIONS),$(PARALLEL_JOBS))
+               PARALLEL_JOBS := $(shell if [ -f /proc/cpuinfo ]; \
+                       then echo `cat /proc/cpuinfo | grep 'processor' | wc -l`; \
+                                   else echo 1; fi)
+       endif
+       NJOBS := -j$(PARALLEL_JOBS)
+endif
+DEB_MAKE_ENVVARS := MAKEFLAGS=$(NJOBS)
+
+debian/stamp-autotools-files:
+       autoreconf -v --install
+       touch debian/stamp-autotools-files
+
+binary-predeb/maemo-tweaks::
+       dh_maemolauncher
+