wok diff xorg-makedepend/receipt @ rev 14625

Up: aalib to 1.4rc5.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jun 01 10:26:00 2013 +0000 (2013-06-01)
parents 742d18777397
children 5ddb4d29b420
line diff
     1.1 --- a/xorg-makedepend/receipt	Sat Jan 22 03:25:18 2011 +0100
     1.2 +++ b/xorg-makedepend/receipt	Sat Jun 01 10:26:00 2013 +0000
     1.3 @@ -1,30 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-makedepend"
     1.7 -VERSION="1.0.3"
     1.8 -CATEGORY="x-window"
     1.9 -SHORT_DESC="X makedepend utility."
    1.10 +VERSION="1.0.4"
    1.11 +CATEGORY="development"
    1.12 +SHORT_DESC="Create dependencies in makefiles"
    1.13  MAINTAINER="gokhlayeh@slitaz.org"
    1.14 +LICENSE="other"
    1.15 +WEB_SITE="http://www.x.org/"
    1.16 +TARBALL="${PACKAGE#xorg-}-$VERSION.tar.bz2"
    1.17 +WGET_URL="$XORG_MIRROR/util/$TARBALL"
    1.18 +
    1.19 +DEPENDS="glibc-base xorg-xproto"
    1.20  BUILD_DEPENDS="xorg-xproto"
    1.21 -SOURCE="makedepend"
    1.22 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.23 -WEB_SITE="http://www.x.org/"
    1.24 -WGET_URL="$XORG_MIRROR/util/$TARBALL"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.31 -	$CONFIGURE_ARGS
    1.32 -	make
    1.33 -	make DESTDIR=$PWD/_pkg install
    1.34 -	chmod +x $PWD/_pkg/usr/bin/*
    1.35 +	./configure \
    1.36 +		--sysconfdir=/etc \
    1.37 +		--localstatedir=/var \
    1.38 +		$CONFIGURE_ARGS &&
    1.39 +	make &&
    1.40 +	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
    1.47 -	cp -a $_pkg/usr/bin $fs/usr
    1.48 +	mkdir -p $fs/usr/share/licenses
    1.49 +	cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
    1.50 +
    1.51 +	cp -a $install/usr/bin $fs/usr
    1.52  }