wok-next annotate rtmpdump/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | c3a368c0cddb |
children | aafbd0a789ef |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
pankso@15880 | 2 |
pankso@15880 | 3 PACKAGE="rtmpdump" |
pankso@15880 | 4 VERSION="2.3" |
pankso@15880 | 5 CATEGORY="multimedia" |
al@21020 | 6 SHORT_DESC="Toolkit for RTMP streams" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pankso@15880 | 8 LICENSE="GPL2" |
al@20456 | 9 WEB_SITE="http://rtmpdump.mplayerhq.hu/" |
al@20456 | 10 |
pankso@15880 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pankso@15880 | 12 WGET_URL="http://rtmpdump.mplayerhq.hu/download/$TARBALL" |
pankso@15880 | 13 |
pascal@20243 | 14 BUILD_DEPENDS="openssl-dev zlib-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pankso@15880 | 16 |
al@20456 | 17 compile_rules() { |
al@21020 | 18 mkdir -p $install/usr/lib |
al@21020 | 19 make && |
al@21020 | 20 make \ |
pankso@15880 | 21 prefix="/usr" \ |
pankso@15880 | 22 sbindir="/usr/bin" \ |
pankso@15880 | 23 mandir="/usr/share/man" \ |
al@21020 | 24 DESTDIR="$install" \ |
al@21020 | 25 install |
pankso@15880 | 26 } |
pankso@15880 | 27 |
al@20456 | 28 genpkg_rules() { |
al@20456 | 29 case $PACKAGE in |
al@20456 | 30 rtmpdump) |
al@20456 | 31 copy @std |
al@20456 | 32 DEPENDS="openssl" |
al@20456 | 33 ;; |
al@20456 | 34 *-dev) |
al@20456 | 35 copy @dev |
al@20456 | 36 DEPENDS="rtmpdump openssl-dev" |
al@20456 | 37 ;; |
al@20456 | 38 esac |
pankso@15880 | 39 } |