wok annotate x264/receipt @ rev 19145
mpv: add EXTRA_SOURCE_FILES
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 19 16:16:54 2016 +0200 (2016-05-19) |
parents | 8139105f9285 |
children | 8feb5dce3d54 |
rev | line source |
---|---|
jozee@6831 | 1 # SliTaz package receipt. |
jozee@6831 | 2 |
jozee@6831 | 3 PACKAGE="x264" |
pascal@19137 | 4 VERSION="20160517-2245" |
jozee@6831 | 5 CATEGORY="multimedia" |
jozee@6831 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 7 LICENSE="GPL2" |
jozee@6831 | 8 SHORT_DESC="free library for encoding H264/AVC video streams" |
jozee@6831 | 9 WEB_SITE="http://www.videolan.org/developers/x264.html" |
jozee@6831 | 10 SOURCE="$PACKAGE-snapshot" |
jozee@6831 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@19137 | 12 WGET_URL="http://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL" |
pankso@16276 | 13 #HOST_ARCH="i486 arm" |
jozee@6831 | 14 |
pascal@15000 | 15 DEPENDS="glibc-base" |
pascal@15000 | 16 BUILD_DEPENDS="yasm" |
pascal@15000 | 17 |
jozee@6831 | 18 # Rules to configure and make the package. |
jozee@6831 | 19 compile_rules() { |
pankso@16276 | 20 ./configure \ |
pankso@16276 | 21 --enable-shared $CONFIGURE_ARGS && |
pankso@16276 | 22 make && make \ |
pankso@16276 | 23 DESTDIR=$DESTDIR \ |
pankso@16276 | 24 bindir=/usr/bin \ |
pankso@16276 | 25 libdir=/usr/lib \ |
pankso@16276 | 26 includedir=/usr/include install |
jozee@6831 | 27 } |
domcox@12844 | 28 |
jozee@6831 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6831 | 30 genpkg_rules() |
jozee@6831 | 31 { |
jozee@6831 | 32 mkdir -p $fs/usr/lib |
pascal@15000 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 34 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
jozee@6831 | 35 } |