wok-6.x rev 3530

Add xorg-gccmakedep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 22 10:58:23 2009 +0200 (2009-06-22)
parents 0fba0aa4ee0e
children 58e54cfc221a 4787fefb7398
files xarchive/stuff/slitaz-wrap.sh xorg-gccmakedep/receipt
line diff
     1.1 --- a/xarchive/stuff/slitaz-wrap.sh	Mon Jun 22 02:07:46 2009 +0200
     1.2 +++ b/xarchive/stuff/slitaz-wrap.sh	Mon Jun 22 10:58:23 2009 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4  ZIP_EXTS="zip cbz jar"
     1.5  RPM_EXTS="rpm"
     1.6  DEB_EXTS="deb"
     1.7 -TAZPKG_EXTS="tazpkg"
     1.8 +TAZPKG_EXTS="tazpkg spkg"
     1.9  ISO_EXTS="iso"
    1.10  SQUASHFS_EXTS="sqfs squashfs"
    1.11  CROMFS_EXTS="cromfs"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xorg-gccmakedep/receipt	Mon Jun 22 10:58:23 2009 +0200
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="xorg-gccmakedep"
     2.7 +VERSION="1.0.2"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="X gccmakedep utility."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +BUILD_DEPENDS="xorg-dev-proto"
    2.12 +SOURCE="gccmakedep"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://www.x.org/"
    2.15 +WGET_URL="$XORG_MIRROR/util/$TARBALL"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +	./configure --prefix=/usr --mandir=/usr/share/man \
    2.22 +	$CONFIGURE_ARGS
    2.23 +	make
    2.24 +	make DESTDIR=$PWD/_pkg install
    2.25 +	chmod +x $PWD/_pkg/usr/bin/*
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	mkdir -p $fs/usr
    2.32 +	cp -a $_pkg/usr/bin $fs/usr
    2.33 +}