wok-current annotate x264/receipt @ rev 24726
updated libconfuse (3.2.2 -> 3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 11:15:30 2022 +0100 (2022-03-15) |
parents | db191dc5aff6 |
children | 5926178cd6fa |
rev | line source |
---|---|
jozee@6831 | 1 # SliTaz package receipt. |
jozee@6831 | 2 |
jozee@6831 | 3 PACKAGE="x264" |
Hans-G?nter@23739 | 4 VERSION="20191217-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 |
pascal@24465 | 20 # What is the latest version available today? |
pascal@24465 | 21 current_version() |
pascal@24465 | 22 { |
pascal@24465 | 23 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24465 | 24 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.[st].*||" | sort -Vr | sed q |
pascal@24465 | 25 } |
pascal@24465 | 26 |
jozee@6831 | 27 # Rules to configure and make the package. |
Hans-G?nter@22144 | 28 compile_rules() |
Hans-G?nter@22144 | 29 { |
Hans-G?nter@22144 | 30 ./configure \ |
Hans-G?nter@22144 | 31 --enable-shared \ |
Hans-G?nter@22144 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@22144 | 33 make && |
Hans-G?nter@22144 | 34 make install \ |
Hans-G?nter@22144 | 35 DESTDIR=$DESTDIR \ |
Hans-G?nter@22144 | 36 bindir=/usr/bin \ |
Hans-G?nter@22144 | 37 libdir=/usr/lib \ |
Hans-G?nter@22144 | 38 includedir=/usr/include |
jozee@6831 | 39 } |
domcox@12844 | 40 |
jozee@6831 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6831 | 42 genpkg_rules() |
jozee@6831 | 43 { |
jozee@6831 | 44 mkdir -p $fs/usr/lib |
Hans-G?nter@22144 | 45 |
Hans-G?nter@22144 | 46 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22144 | 47 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
jozee@6831 | 48 } |