diff options
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/README | 0 | ||||
-rwxr-xr-x | debian/capi-media-camera-dev.install | 4 | ||||
-rwxr-xr-x | debian/capi-media-camera-dev.postinst | 1 | ||||
-rwxr-xr-x | debian/capi-media-camera.install | 1 | ||||
-rwxr-xr-x | debian/capi-media-camera.postinst | 1 | ||||
-rw-r--r-- | debian/changelog | 11 | ||||
-rwxr-xr-x | debian/compat | 1 | ||||
-rwxr-xr-x | debian/control | 22 | ||||
-rwxr-xr-x | debian/rules | 65 |
9 files changed, 106 insertions, 0 deletions
diff --git a/debian/README b/debian/README new file mode 100755 index 0000000..e69de29 --- /dev/null +++ b/debian/README diff --git a/debian/capi-media-camera-dev.install b/debian/capi-media-camera-dev.install new file mode 100755 index 0000000..761a28b --- /dev/null +++ b/debian/capi-media-camera-dev.install @@ -0,0 +1,4 @@ +/usr/include/* +/usr/include/*/* +/usr/lib/pkgconfig/*.pc + diff --git a/debian/capi-media-camera-dev.postinst b/debian/capi-media-camera-dev.postinst new file mode 100755 index 0000000..1a24852 --- /dev/null +++ b/debian/capi-media-camera-dev.postinst @@ -0,0 +1 @@ +#!/bin/sh diff --git a/debian/capi-media-camera.install b/debian/capi-media-camera.install new file mode 100755 index 0000000..4a755a4 --- /dev/null +++ b/debian/capi-media-camera.install @@ -0,0 +1 @@ +/usr/lib/lib*.so* diff --git a/debian/capi-media-camera.postinst b/debian/capi-media-camera.postinst new file mode 100755 index 0000000..1a24852 --- /dev/null +++ b/debian/capi-media-camera.postinst @@ -0,0 +1 @@ +#!/bin/sh diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7b95887 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,11 @@ +capi-media-camera (0.1.0-7) unstable; urgency=low + + * Update version + + -- Seungkeun Lee <sngn.lee@samsung.com> Thu, 15 Dec 2011 12:52:02 +0900 + +capi-media-camera (0.0.1-1) unstable; urgency=low + + * Initial release. + + -- Seungkeun Lee <sngn.lee@samsung.com> Wed, 07 Dec 2011 12:42:07 +0900 diff --git a/debian/compat b/debian/compat new file mode 100755 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100755 index 0000000..758069a --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ + +Source: capi-media-camera +Section: libs +Priority: extra +Maintainer: Seungkeun Lee <sngn.lee@samsung.com>, Kangho Hur<kagho.hur@samsung.com> +Build-Depends: debhelper (>= 5), libmm-camcorder-dev, libmm-common-dev, libmm-session-dev, capi-base-common-dev + +Package: capi-media-camera +Architecture: any +Depends: ${shilbs:Depends}, ${misc:Depends} +Description: A Camera library in Tizen Native API + +Package: capi-media-camera-dev +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, capi-media-camera (= ${Source-Version}), dlog-dev, capi-base-common-dev, libmm-camcorder-dev +Description: A Camera library in Tizen Native API (DEV) + +Package: capi-media-camera-dbg +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, capi-media-camera (= ${Source-Version}) +Description: A Camera library in Tizen Native API (DBG) + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..989c066 --- /dev/null +++ b/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +CMAKE_ROOT_DIR ?= $(CURDIR) +CMAKE_BUILD_DIR ?= $(CURDIR)/cmake_build_tmp + +configure: configure-stamp +configure-stamp: + dh_testdir + mkdir -p $(CMAKE_BUILD_DIR) && cd $(CMAKE_BUILD_DIR) && cmake .. + touch configure-stamp + + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + cd $(CMAKE_BUILD_DIR) && $(MAKE) + touch $@ + +clean: + cd $(CMAKE_ROOT_DIR) + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + rm -f + rm -rf $(CMAKE_BUILD_DIR) + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + cd $(CMAKE_BUILD_DIR) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_install --sourcedir=debian/tmp + dh_installman + dh_link + dh_strip --dbg-package=capi-media-camera-dbg + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure + |