aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-02-11 22:44:00 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2017-02-11 22:44:00 +0100
commit20ed2d225d6a44d92fc17141f3178614134d09b5 (patch)
treeb4086521a582ee897c9ec484577f862a8166cade /community
parent40bc3aa0452b7374c28efbc06ebe7a42338b2706 (diff)
downloadaports-20ed2d225d6a44d92fc17141f3178614134d09b5.tar.bz2
aports-20ed2d225d6a44d92fc17141f3178614134d09b5.tar.xz
community/libhdhomerun: dev should pull in libs
Diffstat (limited to 'community')
-rw-r--r--community/libhdhomerun/APKBUILD23
1 files changed, 7 insertions, 16 deletions
diff --git a/community/libhdhomerun/APKBUILD b/community/libhdhomerun/APKBUILD
index 0ba2d37d59..04ce69823b 100644
--- a/community/libhdhomerun/APKBUILD
+++ b/community/libhdhomerun/APKBUILD
@@ -2,36 +2,26 @@
# Maintainer: Hasse Hagen Johansen <hasse-docker@hagenjohansen.dk>
pkgname=libhdhomerun
pkgver=20161117
-pkgrel=0
+pkgrel=1
pkgdesc="Library for Silicon Dust HD HomeRun"
url="http://www.silicondust.com/support/downloads/linux/"
arch="all"
license="LGPL2+"
depends="$pkgname-libs"
-makedepends="$depends_dev"
+depends_dev="$pkgname-libs"
install=""
subpackages="$pkgname-dev $pkgname-libs"
source="http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz"
-_builddir="$srcdir/$pkgname"
-
-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
-}
+builddir="$srcdir/$pkgname"
build() {
- cd "$_builddir"
+ cd "$builddir"
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
install -Dm755 hdhomerun_config \
"$pkgdir"/usr/bin/hdhomerun_config || return 1
for i in *.h; do
@@ -45,9 +35,10 @@ package() {
libs() {
pkgdesc="$pkgname (libraries)"
depends=
- install -Dm755 "$_builddir"/libhdhomerun.so \
+ install -Dm755 "$builddir"/libhdhomerun.so \
"$subpkgdir"/usr/lib/libhdhomerun.so || return 1
}
+
md5sums="bcbf36db39d8018818336b53a64106b4 libhdhomerun_20161117.tgz"
sha256sums="23a3484723f3744eb38349d19cbe7d25b5bed27adf64929bd174c1669b194a8a libhdhomerun_20161117.tgz"
sha512sums="932eb52a20706fad04a7ebbf9cdc51d7ba0b5f4e1d8e74d175ded26fcb50a745ff37681b14d28a9ff636b923c0b02b624bf39e3d4bbfbe1e4278bbfc70f21803 libhdhomerun_20161117.tgz"