2021-04-07 12:07:58 +00:00
|
|
|
pkgname=ffmpeg
|
2021-05-21 09:24:55 +00:00
|
|
|
pkgver=4.4
|
2021-04-07 12:07:58 +00:00
|
|
|
|
|
|
|
fetch() {
|
2021-09-11 08:24:20 +00:00
|
|
|
curl "https://ffmpeg.org/releases/ffmpeg-$pkgver.tar.xz" -o $pkgname-$pkgver.tar.xz
|
2021-04-07 12:07:58 +00:00
|
|
|
tar -xf $pkgname-$pkgver.tar.xz
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2021-05-21 09:24:55 +00:00
|
|
|
--enable-openssl \
|
2021-04-07 12:07:58 +00:00
|
|
|
--cc=cc
|
|
|
|
|
|
|
|
gmake
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
gmake install DESTDIR=$pkgdir
|
|
|
|
}
|
|
|
|
|
|
|
|
license() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
cat LICENSE
|
|
|
|
# cat COPYING
|
|
|
|
}
|