contrib/x264/Pkgfile

24 lines
535 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
2008-03-26 03:45:31 +01:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
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
2011-05-28 07:55:59 +02:00
version=20110528
2007-06-25 07:09:34 +02:00
release=1
2011-05-28 07:55:59 +02:00
source=(http://www.hvlinux.net/crux/distfiles/$name/$name-$version-c1e60b9.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
}