diff options
author | piernov <piernov@piernov.org> | 2012-04-30 16:12:14 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-04-30 16:12:14 +0200 |
commit | 29dcc314053a16e310f6ad99b5fc4d7d0ff50f0a (patch) | |
tree | b8ca41b54524106de45ba17130897d9a5578f92c /live/Pkgfile | |
parent | 49f3e355f0a4622ec460af6a2291559080e21cfc (diff) | |
parent | 7ac944e79a5e9fbe76ec9af9c38c163d8c540c6b (diff) | |
download | nutyx-extra-29dcc314053a16e310f6ad99b5fc4d7d0ff50f0a.tar.gz nutyx-extra-29dcc314053a16e310f6ad99b5fc4d7d0ff50f0a.tar.bz2 nutyx-extra-29dcc314053a16e310f6ad99b5fc4d7d0ff50f0a.tar.xz nutyx-extra-29dcc314053a16e310f6ad99b5fc4d7d0ff50f0a.zip |
Merge branch 'master' of ssh://piernov.org/srv/git/nutyx-extra
Diffstat (limited to 'live/Pkgfile')
-rw-r--r-- | live/Pkgfile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/live/Pkgfile b/live/Pkgfile index 1d4e037bb..6339b8835 100644 --- a/live/Pkgfile +++ b/live/Pkgfile @@ -6,7 +6,7 @@ # Run on: name=live -version=2012.02.29 +version=2012.04.26 release=1 source=(http://www.live555.com/liveMedia/public/${name}.$version.tar.gz) @@ -16,6 +16,7 @@ build() { cd $name sed \ + -e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1 -DSOCKLEN_T/g' \ -e 's/\(LIBRARY_LINK =\).*/\1 $(LD) -o/g' \ -e 's/\(LIBRARY_LINK_OPTS =\).*/\1 $(LINK_OPTS) -r -Bstatic/g' \ -i config.linux -i config.linux-64bit @@ -27,8 +28,8 @@ build() { gcc -shared -o libliveMedia.so.$version */*.a for dir in BasicUsageEnvironment UsageEnvironment groupsock liveMedia; do - mkdir -p $PKG/usr/{lib/live,include}/$dir - cp -r $dir/*.a $PKG/usr/lib/live/$dir + mkdir -p $PKG/usr/{lib,include/$dir} + cp -r $dir/*.a $PKG/usr/lib/ cp -r $dir/include/* $PKG/usr/include/$dir done @@ -38,9 +39,6 @@ build() { done install -m755 mediaServer/live555MediaServer $PKG/usr/bin - cp libliveMedia.so.$version $PKG/usr/lib/live/ - ln -s libliveMedia.so.$version $PKG/usr/lib/live/libliveMedia.so - ln -s live/libliveMedia.so.$version $PKG/usr/lib/libliveMedia.so.$version + cp libliveMedia.so.$version $PKG/usr/lib ln -s libliveMedia.so.$version $PKG/usr/lib/libliveMedia.so - } |