iglunix/pkgs/ffmpeg/build.sh

29 lines
391 B
Bash
Raw Normal View History

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() {
curl "https://ffmpeg.org/releases/ffmpeg-4.3.2.tar.xz" -o $pkgname-$pkgver.tar.xz
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
}