aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-02-25 12:43:13 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-02-25 13:51:35 +0100
commit7adf55b09e89c66500b8b3666604de2fe27db957 (patch)
tree9099f96cb00daea90594eab0806ce213695176e1
parent205c9888121a8921247b6c59969ce04df9d493ca (diff)
downloadaports-7adf55b09e89c66500b8b3666604de2fe27db957.tar.bz2
aports-7adf55b09e89c66500b8b3666604de2fe27db957.tar.xz
community/libhdhomerun: properly install headers and libs
-rw-r--r--community/libhdhomerun/APKBUILD30
-rw-r--r--community/tvheadend/419e10eadde5048a99e40f23a37f4d9718496709.patch (renamed from main/tvheadend/419e10eadde5048a99e40f23a37f4d9718496709.patch)0
-rw-r--r--community/tvheadend/APKBUILD (renamed from main/tvheadend/APKBUILD)0
-rw-r--r--community/tvheadend/satellites.xml (renamed from main/tvheadend/satellites.xml)0
-rw-r--r--community/tvheadend/tvheadend.confd (renamed from main/tvheadend/tvheadend.confd)0
-rw-r--r--community/tvheadend/tvheadend.initd (renamed from main/tvheadend/tvheadend.initd)0
-rw-r--r--community/tvheadend/tvheadend.pre-install (renamed from main/tvheadend/tvheadend.pre-install)0
7 files changed, 16 insertions, 14 deletions
diff --git a/community/libhdhomerun/APKBUILD b/community/libhdhomerun/APKBUILD
index 3edb77497d..4684c9c977 100644
--- a/community/libhdhomerun/APKBUILD
+++ b/community/libhdhomerun/APKBUILD
@@ -2,16 +2,16 @@
# Maintainer: Hasse Hagen Johansen <hasse-docker@hagenjohansen.dk>
pkgname=libhdhomerun
pkgver=20150826
-pkgrel=0
+pkgrel=1
pkgdesc="Library for Silicon Dust HD HomeRun"
url="http://www.silicondust.com/support/downloads/linux/"
arch="all"
license="LGPL2+"
-depends=""
-depends_dev=""
+depends="$pkgname-libs"
+depends_dev="$pkgname"
makedepends="$depends_dev"
install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-config"
+subpackages="$pkgname-dev $pkgname-libs"
source="http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz"
_builddir="$srcdir/$pkgname"
@@ -33,18 +33,20 @@ build() {
package() {
cd "$_builddir"
- install -Dm444 libhdhomerun.so \
- "$pkgdir"/usr/lib/libhdhomerun.so || return 1
- install -D *.h "$pkgdir"/usr/include/libhdhomerun || return 1
- install -Dm644 lgpl.txt \
- "$pkgdir"/usr/share/licenses/$pkgname/lgpl.txt || return 1
+ install -Dm755 hdhomerun_config \
+ "$pkgdir"/usr/bin/hdhomerun_config || return 1
+ for i in *.h; do
+ install -Dm644 $i \
+ "$pkgdir"/usr/include/libhdhomerun/$i || return 1
+ done
}
-config() {
- pkgdesc="$pkgname config utility"
- cd "$_builddir"
- install -Dm755 hdhomerun_config \
- "$subpkgdir"/usr/bin/hdhomerun_config || return 1
+# libhdhomerun does not provide versioned libs so we cannot
+# use abuilds libs split function, so we make our own.
+libs() {
+ pkgdesc="$pkgname (libraries)"
+ install -Dm755 "$_builddir"/libhdhomerun.so \
+ "$subpkgdir"/usr/lib/libhdhomerun.so || return 1
}
md5sums="05f9a9e1fc8f6ec004b399034775cab0 libhdhomerun_20150826.tgz"
diff --git a/main/tvheadend/419e10eadde5048a99e40f23a37f4d9718496709.patch b/community/tvheadend/419e10eadde5048a99e40f23a37f4d9718496709.patch
index c81d65e613..c81d65e613 100644
--- a/main/tvheadend/419e10eadde5048a99e40f23a37f4d9718496709.patch
+++ b/community/tvheadend/419e10eadde5048a99e40f23a37f4d9718496709.patch
diff --git a/main/tvheadend/APKBUILD b/community/tvheadend/APKBUILD
index 2c4609254f..2c4609254f 100644
--- a/main/tvheadend/APKBUILD
+++ b/community/tvheadend/APKBUILD
diff --git a/main/tvheadend/satellites.xml b/community/tvheadend/satellites.xml
index b8e684e18d..b8e684e18d 100644
--- a/main/tvheadend/satellites.xml
+++ b/community/tvheadend/satellites.xml
diff --git a/main/tvheadend/tvheadend.confd b/community/tvheadend/tvheadend.confd
index b3faed1102..b3faed1102 100644
--- a/main/tvheadend/tvheadend.confd
+++ b/community/tvheadend/tvheadend.confd
diff --git a/main/tvheadend/tvheadend.initd b/community/tvheadend/tvheadend.initd
index 05b6fea8a3..05b6fea8a3 100644
--- a/main/tvheadend/tvheadend.initd
+++ b/community/tvheadend/tvheadend.initd
diff --git a/main/tvheadend/tvheadend.pre-install b/community/tvheadend/tvheadend.pre-install
index 0580cb5006..0580cb5006 100644
--- a/main/tvheadend/tvheadend.pre-install
+++ b/community/tvheadend/tvheadend.pre-install