summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control24
-rw-r--r--debian/osso-bookmark-engine-dev.install2
-rw-r--r--debian/osso-bookmark-engine.install1
-rwxr-xr-xdebian/rules49
6 files changed, 82 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c7ded09
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+osso-bookmark-engine (2:1.2.10+0m5) unstable; urgency=low
+
+ * Initial RE release
+
+ -- Benjamin Cohen <bencoh@notk.org> Mon, 06 Feb 2017 23:56:00 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b4ddba7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: osso-bookmark-engine
+Maintainer: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
+Build-Depends: debhelper (>= 5), libtool, pkg-config,
+ libglib2.0-dev, libxml2-dev, libgconf2-dev
+
+Package: osso-bookmark-engine
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: Bookmark engine for the Bookmark application.
+
+Package: osso-bookmark-engine-dev
+Architecture: any
+Section: devel
+Depends: osso-bookmark-engine
+Description: Bookmark engine for the Bookmark application.
+ This package contains development header files
+
+Package: osso-bookmark-engine-dbg
+Architecture: any
+Section: devel
+Depends: osso-bookmark-engine (= ${binary:Version})
+Description: Bookmark engine for the Bookmark application.
+ This package contains debug symbols
diff --git a/debian/osso-bookmark-engine-dev.install b/debian/osso-bookmark-engine-dev.install
new file mode 100644
index 0000000..deb9940
--- /dev/null
+++ b/debian/osso-bookmark-engine-dev.install
@@ -0,0 +1,2 @@
+usr/include/*
+usr/lib/pkgconfig/*
diff --git a/debian/osso-bookmark-engine.install b/debian/osso-bookmark-engine.install
new file mode 100644
index 0000000..093956b
--- /dev/null
+++ b/debian/osso-bookmark-engine.install
@@ -0,0 +1 @@
+usr/lib/*.so.*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c000c24
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,49 @@
+#!/usr/bin/make -f
+
+DESTDIR = $(CURDIR)/debian/tmp
+
+ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -mthumb
+endif
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+clean:
+ -$(MAKE) clean
+ dh_testdir
+ dh_testroot
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+
+build:
+ CFLAGS="$(CFLAGS)" $(MAKE)
+
+binary: install
+ dh_testdir
+ dh_testroot
+ dh_installdirs
+ dh_install --sourcedir=debian/tmp
+ dh_installchangelogs
+ dh_link
+ dh_strip --dbg-package=osso-bookmark-engine-dbg
+ dh_compress
+ dh_fixperms -Xosso-bookmark-engine
+ dh_makeshlibs
+ dh_shlibdeps --libpackage=osso-bookmark-engine
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+.PHONY: build clean binary install