mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 07:11:47 +01:00
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
# Contributor: Carlo Landmeter
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=rtmpdump
|
|
verbase=2.4
|
|
pkgver=2.4_git20141231
|
|
pkgrel=1
|
|
pkgdesc="A tool to download rtmp:// and rtmpe:// streams"
|
|
url="http://rtmpdump.mplayerhq.hu/"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=
|
|
depends_dev="zlib-dev openssl-dev"
|
|
makedepends="$depends_dev linux-headers"
|
|
subpackages="$pkgname-dev $pkgname-doc librtmp"
|
|
|
|
giturl="git://git.ffmpeg.org/rtmpdump"
|
|
disturl="dev.alpinelinux.org:/archive/rtmpdump"
|
|
source="http://dev.alpinelinux.org/archive/rtmpdump/rtmpdump-${pkgver}.tar.gz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make -j1 prefix=/usr MANDIR="$pkgdir/usr/share/man" DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
librtmp() {
|
|
pkgdesc="Real Time Messaging Protocol (RTMP) library"
|
|
replaces="rtmpdump"
|
|
mkdir -p "$subpkgdir"/usr
|
|
mv "$pkgdir"/usr/lib "$subpkgdir"/usr/
|
|
}
|
|
|
|
md5sums="03c4c1fdfff2fc16f89c88097c2a132a rtmpdump-2.4_git20141231.tar.gz"
|
|
sha256sums="f2c7309a9c58c9da9c310c830c9fcb09f6ed999b074c585b4c127ad9ecba1b39 rtmpdump-2.4_git20141231.tar.gz"
|
|
sha512sums="3029e7e6079b8ae444c60dee3dcabf637570a51d26d5ca546603fa1cf4e3f2c9f2a8e721a14e5710b13bd746ba73004f2ce3d46b3388b52cf5775b522d8b1eb6 rtmpdump-2.4_git20141231.tar.gz"
|