mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-11 11:41:59 +01:00
34 lines
747 B
Plaintext
34 lines
747 B
Plaintext
# Contributor: Carlo Landmetere
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=rtmpdump
|
|
pkgver=2.4
|
|
pkgrel=0
|
|
pkgdesc="A tool to download rtmp:// and rtmpe:// streams"
|
|
url="http://rtmpdump.mplayerhq.hu/"
|
|
arch="all"
|
|
license="GPL"
|
|
depends=
|
|
makedepends="openssl-dev"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="ftp://ftp.archlinux.org/other/rtmpdump/rtmpdump-${pkgver}.tar.xz"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
sed -i 's/^install_so.0:.*/& install_base/' librtmp/Makefile
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make -j1 prefix=/usr MANDIR="$pkgdir/usr/share/man" DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
md5sums="e22c043df488c716b3eda36204649c06 rtmpdump-2.4.tar.xz"
|