wok-6.x rev 3534

merge 3532:012d72b2b629 , 3530:0109c31e8835
author Liu Peng <rocky@slitaz.org>
date Mon Jun 22 17:35:58 2009 +0800 (2009-06-22)
parents 012d72b2b629 0109c31e8835
children eb2c55805aa9
files
line diff
     1.1 --- a/xarchive/stuff/slitaz-wrap.sh	Mon Jun 22 13:40:13 2009 +0800
     1.2 +++ b/xarchive/stuff/slitaz-wrap.sh	Mon Jun 22 17:35:58 2009 +0800
     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 17:35:58 2009 +0800
     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 +}