From: Andrew Andrianov Date: Tue, 9 Jun 2015 11:21:29 +0000 (+0300) Subject: Add initial stuff for OBS build X-Git-Tag: v0.1~13 X-Git-Url: http://git.linex4red.de/pub/pl2303-ft232-gpio.git/commitdiff_plain/065f5be3a2c5bb8252926d498cbda1bf096e9f68 Add initial stuff for OBS build Signed-off-by: Andrew Andrianov --- diff --git a/debian.changelog b/debian.changelog new file mode 100644 index 0000000..f1cc78d --- /dev/null +++ b/debian.changelog @@ -0,0 +1,6 @@ +packageName (0.1) stable; urgency=low + + * Initial Release + + -- Andrew Andrianov Mon, 1 Jun 2015 10:50:38 +0100 + diff --git a/debian.control b/debian.control new file mode 100644 index 0000000..0300eeb --- /dev/null +++ b/debian.control @@ -0,0 +1,12 @@ +Source: pl2303gpio +Section: main +Priority: optional +Maintainer: Andrew Andrianov +Build-Depends: debhelper (>= 4.1.16), libusb + +Package: pl2303gpio +Architecture: any +Depends: ${shlibs:Depends} +Description: Tools to control pl2303 and cp2103 gpio lines + Small, hacky, but get the job done + diff --git a/debian.rules b/debian.rules new file mode 100644 index 0000000..4b3f681 --- /dev/null +++ b/debian.rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=4 + +CFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + ./configure + make all + # --- end custom part for compiling + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + make clean || true + # --- end custom part for cleaning up + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package + # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/ + make install DESTDIR=/usr/src/packages/BUILD/debian/ace + # --- end custom part for installing + +# Build architecture-independent files here. +binary-indep: build install + # We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install + diff --git a/pl2303gpio.dsc b/pl2303gpio.dsc new file mode 100644 index 0000000..6afc60c --- /dev/null +++ b/pl2303gpio.dsc @@ -0,0 +1,10 @@ +Format: 1.0 +Source: pl2303gpio +Version: 0.1 +Binary: pl2303gpio +Maintainer: Andrew Andrianov +Architecture: any +Build-Depends: debhelper (>= 4.1.16), libusb +Files: + d57283ebb8157ae919762c58419353c8 133282 pl2303gpio_5.6.orig.tar.gz + 2fecf324a32123b08cefc0f047bca5ee 63176 pl2303gpio_5.6-1.diff.tar.gz