diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2016-10-01 22:37:39 -0400 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2016-10-01 22:37:39 -0400 |
commit | a2c8dc2bf6108311746f1b3e3e8ac02a465d762f (patch) | |
tree | 57308ac73c045286f92f4007973841506fd2b63d /debian | |
parent | 7a753ead88c10d00120405daaefaf2cd8286a887 (diff) |
adding debian files
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 29 | ||||
-rw-r--r-- | debian/libtinyalsa-dev.dirs.in | 2 | ||||
-rw-r--r-- | debian/libtinyalsa-dev.install.in | 4 | ||||
-rw-r--r-- | debian/libtinyalsa.dirs.in | 1 | ||||
-rw-r--r-- | debian/libtinyalsa.install.in | 1 | ||||
-rwxr-xr-x | debian/rules | 31 | ||||
-rw-r--r-- | debian/tinyalsa.dirs | 2 | ||||
-rw-r--r-- | debian/tinyalsa.install | 4 |
10 files changed, 81 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0520a23 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +tinyalsa (1.0.0) xenial; urgency=medium + + * Initial debian release. + + -- Taylor Holberton <taylorcholberton@gmail.com> Sat, 01 Oct 2016 20:31:04 -0400 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..45b53f8 --- /dev/null +++ b/debian/control @@ -0,0 +1,29 @@ +Source: tinyalsa +Section: sound +Priority: optional +Maintainer: Taylor Holberton <taylorcholberton@gmail.com> +Build-Depends: debhelper, build-essential, doxygen +Vcs-Git: git://github.com/tinyalsa/tinyalsa +Vcs-Browser: https://github.com/tinyalsa/tinyalsa + +Package: tinyalsa +Architecture: any +Section: sound +Depends: libtinyalsa (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: A collection of small programs to interface with ALSA in the Linux kernel. + +Package: libtinyalsa +Architecture: any +Multi-Arch: same +Section: libs +Description: A small C library for interfacing with ALSA in the Linux kernel. + +Package: libtinyalsa-dev +Architecture: any +Multi-Arch: same +Section: libdevel +Depends: libtinyalsa +Description: Development files for the TinyALSA library. + diff --git a/debian/libtinyalsa-dev.dirs.in b/debian/libtinyalsa-dev.dirs.in new file mode 100644 index 0000000..5c59953 --- /dev/null +++ b/debian/libtinyalsa-dev.dirs.in @@ -0,0 +1,2 @@ +/usr/lib/@DEB_HOST_MULTIARCH@ +/usr/include diff --git a/debian/libtinyalsa-dev.install.in b/debian/libtinyalsa-dev.install.in new file mode 100644 index 0000000..853d12c --- /dev/null +++ b/debian/libtinyalsa-dev.install.in @@ -0,0 +1,4 @@ +debian/tmp/usr/include/* usr/include/ +debian/tmp/usr/lib/@DEB_HOST_MULTIARCH@/lib*.so usr/lib/@DEB_HOST_MULTIARCH@/ +debian/tmp/usr/lib/@DEB_HOST_MULTIARCH@/lib*.a usr/lib/@DEB_HOST_MULTIARCH@/ +debian/tmp/usr/share/man/man3 usr/share/man/ diff --git a/debian/libtinyalsa.dirs.in b/debian/libtinyalsa.dirs.in new file mode 100644 index 0000000..6768aca --- /dev/null +++ b/debian/libtinyalsa.dirs.in @@ -0,0 +1 @@ +/usr/lib/@DEB_HOST_MULTIARCH@ diff --git a/debian/libtinyalsa.install.in b/debian/libtinyalsa.install.in new file mode 100644 index 0000000..a6a288e --- /dev/null +++ b/debian/libtinyalsa.install.in @@ -0,0 +1 @@ +debian/tmp/usr/lib/@DEB_HOST_MULTIARCH@/*.so usr/lib/@DEB_HOST_MULTIARCH@/ diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..07f8f21 --- /dev/null +++ b/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +PREPROCESS_FILES := $(wildcard debian/*.in) + +$(PREPROCESS_FILES:.in=): %: %.in + sed 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' $< > $@ + +.PHONY: override_dh_auto_clean +override_dh_auto_clean: + dh_auto_clean + rm -rf $(PREPROCESS_FILES:.in=) + +.PHONY: override_dh_shlibdeps +override_dh_shlibdeps: + dh_shlibdeps -l$(shell pwd)/src + +.PHONY: override_dh_auto_install +override_dh_auto_install: $(PREPROCESS_FILES:.in=) + dh_auto_install -- PREFIX=/usr + +.PHONY: override_dh_auto_test +override_dh_auto_test: + +%: + dh $@ + diff --git a/debian/tinyalsa.dirs b/debian/tinyalsa.dirs new file mode 100644 index 0000000..99b95ed --- /dev/null +++ b/debian/tinyalsa.dirs @@ -0,0 +1,2 @@ +/usr/bin +/usr/share diff --git a/debian/tinyalsa.install b/debian/tinyalsa.install new file mode 100644 index 0000000..da0bd3b --- /dev/null +++ b/debian/tinyalsa.install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin/tinyplay usr/bin/ +debian/tmp/usr/bin/tinycap usr/bin/ +debian/tmp/usr/bin/tinypcminfo usr/bin/ +debian/tmp/usr/bin/tinymix usr/bin/ |