aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/dvbsnoop
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/dvbsnoop')
-rw-r--r--unmaintained/dvbsnoop/APKBUILD50
1 files changed, 50 insertions, 0 deletions
diff --git a/unmaintained/dvbsnoop/APKBUILD b/unmaintained/dvbsnoop/APKBUILD
new file mode 100644
index 0000000000..0a72f4b13b
--- /dev/null
+++ b/unmaintained/dvbsnoop/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=dvbsnoop
+pkgver=1.4.50
+pkgrel=0
+pkgdesc="a DVB / MPEG stream analyzer"
+url="http://dvbsnoop.sourceforge.net"
+arch="all"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/sourceforge/dvbsnoop/dvbsnoop-$pkgver.tar.gz"
+
+_builddir="$srcdir"/dvbsnoop-$pkgver
+prepare() {
+ local i
+ 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 \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="68a5618c95b4372eea9ac5ec5005f299 dvbsnoop-1.4.50.tar.gz"
+sha256sums="7658498b26a5d2a0242e81f0cfafa0e43a2bec56f8674e7ac197dfc310866ec6 dvbsnoop-1.4.50.tar.gz"
+sha512sums="288b98e9205b9ee6638b65cd0d7c463c2c243c1f7e650a6df8592acd3f40eca3352a563cc8a1a04f0f2731b3718e6dc3d09f56f59da4b59fbe25b86acf434f81 dvbsnoop-1.4.50.tar.gz"