wok-next view rtmpdump/receipt @ rev 20748
Update (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 30 20:13:48 2018 +0300 (2018-05-30) |
parents | e6615350078d |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="rtmpdump"
4 VERSION="2.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="rtmpdump is a toolkit for RTMP streams"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://rtmpdump.mplayerhq.hu/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://rtmpdump.mplayerhq.hu/download/$TARBALL"
14 BUILD_DEPENDS="openssl-dev zlib-dev"
15 SPLIT="rtmpdump-dev"
17 compile_rules() {
18 mkdir -p $DESTDIR/usr/lib
19 make && make \
20 prefix="/usr" \
21 sbindir="/usr/bin" \
22 mandir="/usr/share/man" \
23 DESTDIR="$DESTDIR" install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 rtmpdump)
29 copy @std
30 DEPENDS="openssl"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="rtmpdump openssl-dev"
35 ;;
36 esac
37 }