From: Donghoon Shin Date: Mon, 13 Mar 2017 23:37:20 +0000 (+0900) Subject: Add debian files to create deb package X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfe8cba048e8ba07bfb7d7ec21c120aaef00d9db;p=sdk%2Ftools%2Fsdb.git Add debian files to create deb package Theese files will be used for packaging deb file to distribute sdb in debian distro. Change-Id: I2d94901c1e4307aa3d7fbd8c579e4e58197e66f6 Signed-off-by: dhs.shin --- diff --git a/Makefile b/Makefile index 2f68548..04da2ac 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ HOST_OS := $(shell uname -s | tr A-Z a-z | cut -d'_' -f1) LBITS := $(shell getconf LONG_BIT) BINDIR := ./bin +INSTALLDIR := usr/bin MODULE := sdb ENCLIB := spc @@ -116,6 +117,10 @@ $(MODULE) : $(OBJS) @mkdir -p $(BINDIR) $(CXX) -o $(BINDIR)/$@ $^ $(SDB_LFLAGS) $(STATIC_LFLAGS) +install : + mkdir -p $(DESTDIR)/$(INSTALLDIR) + install $(BINDIR)/$(MODULE) $(DESTDIR)/$(INSTALLDIR)/$(MODULE) + clean : $(MAKE) -C $(ENCLIB_BUILD_PATH) clean rm -rf src/*.o diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..71e92bd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +sdb (2.3.0-1) unstable; urgency=low + + * Used 2.3.0 codebase + + -- Tizen Thu, 22 Dec 2016 13:09:00 +0900 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..b521632 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: sdb +Priority: extra +Section: devel +Maintainer: Tizen +XSBC-Original-Maintainer: Chengwei Yang , Ed Bartosh +Build-Depends: debhelper (>= 7), libncurses5-dev, libssl1.0.0, libssl-dev +Standards-Version: 3.9.2 + +Package: sdb +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: SDB client + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c279d91 --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# +# # Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ +