contrib/x264/Pkgfile

24 lines
519 B
Plaintext
Raw Normal View History

2007-06-25 07:09:34 +02:00
# Description: Library for encoding H264/AVC video streams (snapshot).
2008-04-01 08:25:33 +02:00
# URL: http://www.videolan.org/developers/x264.html
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2007-06-25 07:09:34 +02:00
# Packager: Rouven Schuerch, rs at tegonal dot com
2008-12-20 12:04:16 +01:00
# Depends on: yasm
2007-06-25 07:09:34 +02:00
name=x264
2016-02-16 11:38:39 +01:00
version=148.20160103
2007-06-25 07:09:34 +02:00
release=1
2016-02-16 11:20:01 +01:00
source=(http://crux.ster.zone/downloads/$name/$name-$version-5c65704.tar.xz)
2007-06-25 07:09:34 +02:00
build() {
2008-12-19 10:52:27 +01:00
cd $name
2007-08-16 02:49:59 +02:00
2007-06-25 07:09:34 +02:00
./configure \
--prefix=/usr \
2007-08-16 02:49:59 +02:00
--enable-pic \
2009-12-26 06:20:58 +01:00
--enable-shared
2007-06-25 07:09:34 +02:00
make
make DESTDIR=$PKG install
2008-04-01 05:45:44 +02:00
chmod a-x $PKG/usr/lib/*.so
2007-06-25 07:09:34 +02:00
}