summaryrefslogtreecommitdiffstats
path: root/extra/x264/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:57:55 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-12 20:57:55 +0200
commit68db4635e192db5ba604de7f702bdea83c76c1b7 (patch)
tree84831cc70da80d2723430f108e8d07c50e4a77c3 /extra/x264/Pkgfile
parentf41dbadd93fa9c7c8ae4794ba641cac8af63e9d7 (diff)
downloadnutyx-pakxe-68db4635e192db5ba604de7f702bdea83c76c1b7.tar.gz
nutyx-pakxe-68db4635e192db5ba604de7f702bdea83c76c1b7.tar.bz2
nutyx-pakxe-68db4635e192db5ba604de7f702bdea83c76c1b7.tar.xz
nutyx-pakxe-68db4635e192db5ba604de7f702bdea83c76c1b7.zip
Ajout de x264#20081219-1
Diffstat (limited to 'extra/x264/Pkgfile')
-rw-r--r--extra/x264/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/x264/Pkgfile b/extra/x264/Pkgfile
new file mode 100644
index 000000000..9909dc2a2
--- /dev/null
+++ b/extra/x264/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Librairie libre pour encoder des flux vidéos en H264/AVC
+# URL: http://www.videolan.org/developers/x264.html
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: yasm
+
+name=x264
+version=20081219
+release=1
+source=(http://www.dcaf-security.org/distfiles/x264-$version-5f8a149.tar.bz2)
+
+build() {
+ cd x264
+
+ sed -i \
+ -e 's/-O4/-O3/' \
+ -e 's|-I/usr/X11R6/include|-I/usr/X11/include|' configure
+
+ ./configure \
+ --prefix=/usr \
+ --enable-pic \
+ --enable-pthread \
+ --enable-shared
+
+ make
+ make DESTDIR=$PKG install
+ chmod a-x $PKG/usr/lib/*.so
+}