wok-next diff x264/receipt @ rev 19918

Fix xombrero
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 14 14:20:25 2017 +0300 (2017-10-14)
parents eed68127093d
children c4e53a39395a
line diff
     1.1 --- a/x264/receipt	Wed May 18 15:51:24 2016 +0200
     1.2 +++ b/x264/receipt	Sat Oct 14 14:20:25 2017 +0300
     1.3 @@ -1,35 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="x264"
     1.8 -VERSION="20160517-2245"
     1.9 +VERSION="20170601-2245"
    1.10  CATEGORY="multimedia"
    1.11 +SHORT_DESC="Free H.264/AVC encoder"
    1.12  MAINTAINER="jozee@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -SHORT_DESC="free library for encoding H264/AVC video streams"
    1.15  WEB_SITE="http://www.videolan.org/developers/x264.html"
    1.16 -SOURCE="$PACKAGE-snapshot"
    1.17 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.18 -WGET_URL="http://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
    1.19  #HOST_ARCH="i486 arm"
    1.20  
    1.21 -DEPENDS="glibc-base"
    1.22 +TARBALL="x264-snapshot-$VERSION-stable.tar.bz2"
    1.23 +WGET_URL="http://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
    1.24 +
    1.25  BUILD_DEPENDS="yasm"
    1.26 +SPLIT="x264-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules() {
    1.30  	./configure \
    1.31 -		--enable-shared $CONFIGURE_ARGS &&
    1.32 -	make && make \
    1.33 -		DESTDIR=$DESTDIR \
    1.34 -		bindir=/usr/bin \
    1.35 -		libdir=/usr/lib \
    1.36 -		includedir=/usr/include install
    1.37 +		--prefix=/usr \
    1.38 +		--enable-shared \
    1.39 +		$CONFIGURE_ARGS &&
    1.40 +	make && make install
    1.41  }
    1.42  
    1.43  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.44  genpkg_rules()
    1.45  {
    1.46 -	mkdir -p $fs/usr/lib
    1.47 -	cp -a $install/usr/bin $fs/usr
    1.48 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
    1.49 +	case $PACKAGE in
    1.50 +		x264) copy @std;;
    1.51 +		*-dev) copy @dev;;
    1.52 +	esac
    1.53  }