vp-build/srcpkgs/x264/template

32 lines
903 B
Plaintext

# Template file for 'x264'
pkgname=x264
_snap_date=20120126
_snap_rev=2245
version="${_snap_date}.${_snap_rev}"
wrksrc="x264-snapshot-${_snap_date}-${_snap_rev}-stable"
distfiles="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${_snap_date}-${_snap_rev}-stable.tar.bz2"
makedepends="yasm"
revision=1
short_desc="Free library for encoding H264/AVC video streams"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.videolan.org/developers/x264.html"
license="GPL-2"
checksum=6270fcc6e2ef133e4db2b2e0f4f22b5dbdd9a637e979b5697014b698f0d56baa
long_desc="
Stable snapshot version of x264, a high quality H.264 codec."
subpackages="$pkgname-devel"
do_configure() {
./configure --disable-swscale --enable-pic --enable-shared
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} \
bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install
}