wok-current rev 5846

Add: xfce4-dev-tools
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 16 15:40:32 2010 +0200 (2010-07-16)
parents 8e71b2f70bb0
children 5c10ad52be12
files xfce4-dev-tools/receipt xfce4-dev-tools/stuff/xdt-autogen-4.6.0.u
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfce4-dev-tools/receipt	Fri Jul 16 15:40:32 2010 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfce4-dev-tools"
     1.7 +VERSION="4.6.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Xfce Developpers Tools "
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="subversion autoconf automake intltool pkg-config"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://xfce.org/~benny/projects/xfce4-dev-tools/"
    1.14 +WGET_URL="http://www.p0llux.be/xfce/archive/xfce/4.6.2/src/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	patch -p1 -i ../stuff/xdt-autogen-4.6.0.u || exit 1
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--infodir=/usr/share/info \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make && make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +	cp -a $_pkg/usr/share $fs/usr
    1.35 +	
    1.36 +	chmod 755 $fs/usr/bin/xdt-*
    1.37 +	
    1.38 +}
    1.39 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xfce4-dev-tools/stuff/xdt-autogen-4.6.0.u	Fri Jul 16 15:40:32 2010 +0200
     2.3 @@ -0,0 +1,11 @@
     2.4 +--- xfce4-dev-tools-4.6.0-ori/scripts/xdt-autogen.in	Wed Feb 25 07:32:08 2009
     2.5 ++++ xfce4-dev-tools-4.6.0/scripts/xdt-autogen.in	Fri Jul 16 11:57:19 2010
     2.6 +@@ -181,7 +181,7 @@
     2.7 + test -z "${XDT_PROG_LIBTOOLIZE}" && XDT_PROG_LIBTOOLIZE="libtoolize"
     2.8 + for configure_file in $CONFIGURE_FILES; do
     2.9 +   if grep "^AC_PROG_LIBTOOL" "${configure_file}" >/dev/null 2>&1; then
    2.10 +-    (${XDT_PROG_LIBTOOLIZE} --version) </dev/null >/dev/null 2>&0 || {
    2.11 ++    (${XDT_PROG_LIBTOOLIZE} --version) </dev/null >/dev/null 2>&1 || {
    2.12 +       cat >&2 <<EOF
    2.13 + xdt-autogen: You must have "libtool" installed on your system.
    2.14 +              Download the appropriate package for your distribution,