contrib/x264/Pkgfile

24 lines
515 B
Plaintext
Raw Normal View History

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