aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-06 09:26:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-06 09:26:01 +0000
commitcbb8ab725aa1a660cf7a7f8a79755ede20c0d70c (patch)
tree9cdcc1ad4a2c7a37062ecfec508a101628a7dc36
parent537b447daf63a38fe7e50e823b53a516d3e4a7e2 (diff)
downloadaports-cbb8ab725aa1a660cf7a7f8a79755ede20c0d70c.tar.bz2
aports-cbb8ab725aa1a660cf7a7f8a79755ede20c0d70c.tar.xz
main/live-media: install headers and libs in proper places
-rw-r--r--main/live-media/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/live-media/APKBUILD b/main/live-media/APKBUILD
index 41d7e2a124..0911976b5c 100644
--- a/main/live-media/APKBUILD
+++ b/main/live-media/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=live-media
pkgver=2010.11.17
-pkgrel=0
+pkgrel=1
pkgdesc="A set of C++ libraries for multimedia streaming"
url="http://live555.com/liveMedia"
license="LGPL"
@@ -30,9 +30,11 @@ build() {
package() {
local dir
cd "$_builddir"
- for dir in BasicUsageEnvironment UsageEnvironment groupsock liveMedia; do
- mkdir -p "$pkgdir"/usr/lib/live/${dir}
- cp -r ${dir}/*.a ${dir}/include "$pkgdir"/usr/lib/live/${dir}
+ mkdir -p "$pkgdir"/usr/lib
+ for f in BasicUsageEnvironment UsageEnvironment liveMedia groupsock; do
+ mkdir -p "$pkgdir"/usr/include/$f
+ cp $f/include/*.h* "$pkgdir"/usr/include/$f
+ cp $f/lib${f}.a "$pkgdir"/usr/lib
done
mkdir -p "$pkgdir"/usr/bin