wok-6.x annotate x264/receipt @ rev 23243
created recipe for nim, successor of nimrod
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 10:14:20 2020 +0100 (2020-03-25) |
parents | eed68127093d |
children | db191dc5aff6 |
rev | line source |
---|---|
jozee@6831 | 1 # SliTaz package receipt. |
jozee@6831 | 2 |
jozee@6831 | 3 PACKAGE="x264" |
Hans-G?nter@22144 | 4 VERSION="20191105-2245" |
jozee@6831 | 5 CATEGORY="multimedia" |
jozee@6831 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 7 LICENSE="GPL2" |
Hans-G?nter@22144 | 8 SHORT_DESC="Free library for encoding H264/AVC video streams." |
Hans-G?nter@22144 | 9 WEB_SITE="https://www.videolan.org/developers/x264.html" |
Hans-G?nter@22144 | 10 |
jozee@6831 | 11 SOURCE="$PACKAGE-snapshot" |
jozee@6831 | 12 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@19137 | 13 WGET_URL="http://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL" |
Hans-G?nter@22144 | 14 |
Hans-G?nter@22144 | 15 DEPENDS="glibc-base" |
Hans-G?nter@22144 | 16 BUILD_DEPENDS="nasm" |
Hans-G?nter@22144 | 17 |
pankso@16276 | 18 #HOST_ARCH="i486 arm" |
jozee@6831 | 19 |
jozee@6831 | 20 # Rules to configure and make the package. |
Hans-G?nter@22144 | 21 compile_rules() |
Hans-G?nter@22144 | 22 { |
Hans-G?nter@22144 | 23 ./configure \ |
Hans-G?nter@22144 | 24 --enable-shared \ |
Hans-G?nter@22144 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@22144 | 26 make && |
Hans-G?nter@22144 | 27 make install \ |
Hans-G?nter@22144 | 28 DESTDIR=$DESTDIR \ |
Hans-G?nter@22144 | 29 bindir=/usr/bin \ |
Hans-G?nter@22144 | 30 libdir=/usr/lib \ |
Hans-G?nter@22144 | 31 includedir=/usr/include |
jozee@6831 | 32 } |
domcox@12844 | 33 |
jozee@6831 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6831 | 35 genpkg_rules() |
jozee@6831 | 36 { |
jozee@6831 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@22144 | 38 |
Hans-G?nter@22144 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22144 | 40 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
jozee@6831 | 41 } |