wok-current diff xorg-libXtst/receipt @ rev 15185

linux-source: add mirror src fallback
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 23 18:59:48 2013 +0000 (2013-08-23)
parents e5ae411e1d8c
children eb8067417980
line diff
     1.1 --- a/xorg-libXtst/receipt	Mon Apr 04 01:54:51 2011 +0000
     1.2 +++ b/xorg-libXtst/receipt	Fri Aug 23 18:59:48 2013 +0000
     1.3 @@ -1,31 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-libXtst"
     1.7 -VERSION="1.2.0"
     1.8 +VERSION="1.2.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Xorg server module."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="xorg-libXext xorg-libXi"
    1.13 -BUILD_DEPENDS="xorg-recordproto xorg-libXext-dev xorg-libXi-dev"
    1.14  SOURCE="libXtst"
    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 xorg-libXi"
    1.20 +BUILD_DEPENDS="xorg-recordproto xorg-libXext-dev xorg-libXi-dev"
    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  }