wok diff xorg-libXdmcp/receipt @ rev 13147

btanks: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 10 13:28:48 2012 +0200 (2012-07-10)
parents e5ae411e1d8c
children a09e9d64e4c9
line diff
     1.1 --- a/xorg-libXdmcp/receipt	Mon Apr 04 01:54:51 2011 +0000
     1.2 +++ b/xorg-libXdmcp/receipt	Tue Jul 10 13:28:48 2012 +0200
     1.3 @@ -1,30 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-libXdmcp"
     1.7 -VERSION="1.1.0"
     1.8 +VERSION="1.1.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Xorg server module."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  SOURCE="libXdmcp"
    1.13  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 -BUILD_DEPENDS="pkg-config xorg-xproto"
    1.15  WEB_SITE="http://www.x.org/"
    1.16  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.17  
    1.18 +BUILD_DEPENDS="pkg-config xorg-xproto"
    1.19 +
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -    cd $src
    1.24 -    ./configure --prefix=/usr --sysconfdir=/etc \
    1.25 -    --mandir=/usr/share/man --localstatedir=/var \
    1.26 -    $CONFIGURE_ARGS
    1.27 -    make
    1.28 -    make DESTDIR=$PWD/_pkg install
    1.29 +	cd $src
    1.30 +	./configure \
    1.31 +		--sysconfdir=/etc \
    1.32 +		--mandir=/usr/share/man \
    1.33 +		--localstatedir=/var \
    1.34 +		$CONFIGURE_ARGS
    1.35 +	make && make install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41  	mkdir -p $fs/usr/lib
    1.42 -    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.43 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.44  }