wok-next diff rtmpdump/receipt @ rev 20678
Up clisp (2.50)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 02:59:03 2018 +0300 (2018-05-15) |
parents | e6615350078d |
children | d5aab818505e |
line diff
1.1 --- a/rtmpdump/receipt Wed Feb 28 16:28:07 2018 +0200 1.2 +++ b/rtmpdump/receipt Tue May 15 02:59:03 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="rtmpdump" 1.8 VERSION="2.3" 1.9 @@ -6,16 +6,15 @@ 1.10 SHORT_DESC="rtmpdump is a toolkit for RTMP streams" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="http://rtmpdump.mplayerhq.hu/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tgz" 1.16 -WEB_SITE="http://rtmpdump.mplayerhq.hu/" 1.17 WGET_URL="http://rtmpdump.mplayerhq.hu/download/$TARBALL" 1.18 1.19 -DEPENDS="openssl" 1.20 BUILD_DEPENDS="openssl-dev zlib-dev" 1.21 +SPLIT="rtmpdump-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 mkdir -p $DESTDIR/usr/lib 1.28 make && make \ 1.29 prefix="/usr" \ 1.30 @@ -24,10 +23,15 @@ 1.31 DESTDIR="$DESTDIR" install 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 - mkdir -p $fs/usr/lib 1.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.39 - cp -a $install/usr/bin $fs/usr 1.40 +genpkg_rules() { 1.41 + case $PACKAGE in 1.42 + rtmpdump) 1.43 + copy @std 1.44 + DEPENDS="openssl" 1.45 + ;; 1.46 + *-dev) 1.47 + copy @dev 1.48 + DEPENDS="rtmpdump openssl-dev" 1.49 + ;; 1.50 + esac 1.51 }