wok-current diff x264/receipt @ rev 15475

libconfig: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 09 21:42:42 2013 +0000 (2013-11-09)
parents 833c3fa25a49
children 8139105f9285
line diff
     1.1 --- a/x264/receipt	Wed May 23 12:59:03 2012 +0200
     1.2 +++ b/x264/receipt	Sat Nov 09 21:42:42 2013 +0000
     1.3 @@ -4,21 +4,23 @@
     1.4  VERSION="20120522-2245"
     1.5  CATEGORY="multimedia"
     1.6  MAINTAINER="jozee@slitaz.org"
     1.7 +LICENSE="GPL2"
     1.8  SHORT_DESC="free library for encoding H264/AVC video streams"
     1.9  WEB_SITE="http://www.videolan.org/developers/x264.html"
    1.10 -DEPENDS="glibc-base"
    1.11 -BUILD_DEPENDS="yasm"
    1.12  SOURCE="$PACKAGE-snapshot"
    1.13  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14  WGET_URL="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/$TARBALL"
    1.15  
    1.16 +DEPENDS="glibc-base"
    1.17 +BUILD_DEPENDS="yasm"
    1.18 +
    1.19  # Rules to configure and make the package.
    1.20  
    1.21  compile_rules() {
    1.22      cd $src
    1.23      ./configure --enable-shared &&
    1.24      make &&
    1.25 -    make DESTDIR=$PWD/_pkg \
    1.26 +    make DESTDIR=$DESTDIR \
    1.27           bindir=/usr/bin \
    1.28           libdir=/usr/lib \
    1.29           includedir=/usr/include install
    1.30 @@ -28,6 +30,6 @@
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/usr/lib
    1.34 -	cp -a $_pkg/usr/bin $fs/usr
    1.35 -	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/usr/lib/*so* $fs/usr/lib/
    1.38  }