diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-06 19:40:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-04-06 19:41:05 +0000 |
commit | beb1b1720862c18461a3488b1c15211df9c9ce14 (patch) | |
tree | b6ad69fbf11d3812aa799de59659284fbed86ffd /main/bluez-hcidump/APKBUILD | |
parent | 8d36e7d94c0c940d7eac811b442e210221e1275f (diff) | |
download | aports-beb1b1720862c18461a3488b1c15211df9c9ce14.tar.bz2 aports-beb1b1720862c18461a3488b1c15211df9c9ce14.tar.xz |
main/bluez-hcidump: moved from testing
Diffstat (limited to 'main/bluez-hcidump/APKBUILD')
-rw-r--r-- | main/bluez-hcidump/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/bluez-hcidump/APKBUILD b/main/bluez-hcidump/APKBUILD new file mode 100644 index 0000000000..09b7092095 --- /dev/null +++ b/main/bluez-hcidump/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=bluez-hcidump +pkgver=2.0 +pkgrel=1 +pkgdesc="Bluetooth HCI package analyzer" +url="http://www.bluez.org/" +arch="all" +license="GPL2" +depends= +makedepends="bluez-dev" +subpackages="$pkgname-doc" +source="http://www.kernel.org/pub/linux/bluetooth/bluez-hcidump-$pkgver.tar.gz + ntoh64.patch" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} +md5sums="5c2e3ef0a68b2845047867ba51ff8ac9 bluez-hcidump-2.0.tar.gz +fee39a3c089125cdc9f7b01f84ea8b33 ntoh64.patch" |