# Maintainer: PktSurf app=x264 version=0.164 build=1sml homepage="http://www.videolan.org/developers/x264.html" desc="free h264 encoder" requires="nasm" prepbuilddir() { mkandenterbuilddir rm -rf "$app-$version" tar xf $srcdir/$app-$version.tar.?z* cd "$app-$version" fixbuilddirpermissions } build() { # Let x264 use its own optimized -O3 -ffast-math compiler flags. unset CFLAGS CXXFLAGS ./configure \ --prefix=/usr \ --enable-shared make make install DESTDIR=$pkg cp AUTHORS COPYING doc/* $pkgdocs/ mkfinalpkg } sha512sums=" e113a7759528be56c93d2a446ad3b89613f2e3182b03a4631073df3058cc17f5991caf6bd495ebf6602e7ebb515000b871dcd3600e966a91c4ab84f502d26e8f x264-0.164.tar.lz "