wok-6.x diff xorg-libXv/receipt @ rev 14065

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-20)
parents c514cc4854d8
children 53ba7581d4a9
line diff
     1.1 --- a/xorg-libXv/receipt	Wed Jan 19 19:41:12 2011 +0000
     1.2 +++ b/xorg-libXv/receipt	Wed Feb 20 12:48:01 2013 +0100
     1.3 @@ -1,31 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-libXv"
     1.7 -VERSION="1.0.6"
     1.8 +VERSION="1.0.7"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Xorg server module."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="xorg-libXext"
    1.13 -BUILD_DEPENDS="xorg-libXext-dev xorg-videoproto"
    1.14  SOURCE="libXv"
    1.15  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16  WEB_SITE="http://www.x.org/"
    1.17  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.18  
    1.19 +DEPENDS="xorg-libXext"
    1.20 +BUILD_DEPENDS="xorg-libXext-dev xorg-videoproto"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -    cd $src
    1.26 -    ./configure --prefix=/usr --sysconfdir=/etc \
    1.27 -    --mandir=/usr/share/man --localstatedir=/var \
    1.28 -    $CONFIGURE_ARGS
    1.29 -    make
    1.30 -    make DESTDIR=$PWD/_pkg install
    1.31 +	cd $src
    1.32 +	./configure \
    1.33 +		--sysconfdir=/etc \
    1.34 +		--mandir=/usr/share/man \
    1.35 +		--localstatedir=/var \
    1.36 +		$CONFIGURE_ARGS &&
    1.37 +	make && make install
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43  	mkdir -p $fs/usr/lib
    1.44 -    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.45 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.46  }