wok-current rev 11214

Add from wok-undigest: rlwrap pamtester php-auth-pam python-xlib qoauth gnome-desktop gnome-desktop-dev gnome-ppp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 17:16:52 2011 +0100 (2011-11-03)
parents d9c2cb21341a
children 6b4a47136bff
files gnome-desktop-dev/receipt gnome-desktop/receipt gnome-ppp/receipt pamtester/receipt php-auth-pam/receipt php-auth-pam/stuff/php-auth-pam-Makefile.global0.4.u python-xlib/receipt qoauth/receipt rlwrap/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-desktop-dev/receipt	Thu Nov 03 17:16:52 2011 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnome-desktop-dev"
     1.7 +VERSION="2.28.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="GNOME Desktop development files"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="gnome-desktop"
    1.12 +WANTED="gnome-desktop"
    1.13 +WEB_SITE="http://www.gnome.org"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $_pkg/usr/include $fs/usr
    1.20 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gnome-desktop/receipt	Thu Nov 03 17:16:52 2011 +0100
     2.3 @@ -0,0 +1,40 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="gnome-desktop"
     2.7 +VERSION="2.28.0"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="GNOME Desktop"
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +DEPENDS="lingnomeui"
    2.12 +BUILD_DEPENDS="python-dev libxml2-python GConf-dev gnome-doc-utils-dev"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +WEB_SITE="http://www.gnome.org"
    2.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$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 \
    2.22 +		--prefix=/usr \
    2.23 +		--sysconfdir=/etc/gnome \
    2.24 +		--localstatedir=/var/lib \
    2.25 +		--enable-gtk-doc-html=no \
    2.26 +		--enable-gtk-doc=no \
    2.27 +		--disable-scrollkeeper \
    2.28 +		--disable-static \
    2.29 +		--with-gnome-distributor="SliTaz GNU/Linux" \
    2.30 +		$CONFIGURE_ARGS &&
    2.31 +	make && make DESTDIR=$DESTDIR install
    2.32 +}
    2.33 +
    2.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.35 +genpkg_rules()
    2.36 +{
    2.37 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.38 +	#cp -a $_pkg/etc $fs
    2.39 +	cp -a $_pkg/usr/bin $fs/usr
    2.40 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.41 +	#cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
    2.42 +}
    2.43 +
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/gnome-ppp/receipt	Thu Nov 03 17:16:52 2011 +0100
     3.3 @@ -0,0 +1,31 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="gnome-ppp"
     3.7 +VERSION="0.3.23"
     3.8 +CATEGORY="network"
     3.9 +MAINTAINER="jozee@slitaz.org"
    3.10 +SHORT_DESC="A GNOME 2 WvDial frontend"
    3.11 +WEB_SITE="http://www.gnomefiles.org/app.php?soft_id=41"
    3.12 +DEPENDS="libglade wvdial"
    3.13 +BUILD_DEPENDS="intltool libglade-dev"
    3.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.15 +WGET_URL="http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/$TARBALL"
    3.16 +TAGS="modem 3G"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +
    3.20 +compile_rules() {
    3.21 +  cd $src 
    3.22 +  ./configure --prefix=/usr &&
    3.23 +  make &&
    3.24 +  make DESTDIR=$PWD/_pkg install
    3.25 +}
    3.26 +	
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	mkdir -p $fs/usr/share
    3.31 +	cp -a $_pkg/usr/bin $fs/usr
    3.32 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    3.33 +	cp -a $_pkg/usr/share/icons $fs/usr/share	
    3.34 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/pamtester/receipt	Thu Nov 03 17:16:52 2011 +0100
     4.3 @@ -0,0 +1,30 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="pamtester"
     4.7 +VERSION="0.1.2"
     4.8 +CATEGORY="system-tools"
     4.9 +SHORT_DESC="Test the pluggable authentication modules (PAM) facility"
    4.10 +MAINTAINER="pascal.bellard@slitaz.org"
    4.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.12 +WEB_SITE="http://$PACKAGE.sourceforge.net/"
    4.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    4.14 +DEPENDS="pam"
    4.15 +BUILD_DEPENDS="pam pam-dev"
    4.16 +
    4.17 +# Rules to configure and make the package.
    4.18 +compile_rules()
    4.19 +{
    4.20 +	cd $src
    4.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    4.22 +	--mandir=/usr/share/man \
    4.23 +	$CONFIGURE_ARGS &&
    4.24 +	make &&
    4.25 +	make DESTDIR=$DESTDIR install
    4.26 +}
    4.27 +
    4.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.29 +genpkg_rules()
    4.30 +{
    4.31 +	mkdir -p $fs/usr
    4.32 +	cp -a $_pkg/usr/bin $fs/usr
    4.33 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/php-auth-pam/receipt	Thu Nov 03 17:16:52 2011 +0100
     5.3 @@ -0,0 +1,79 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="php-auth-pam"
     5.7 +VERSION="0.4"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="PHP extension for PAM"
    5.10 +MAINTAINER="erjo@slitaz.org"
    5.11 +DEPENDS="php-apache pam"
    5.12 +BUILD_DEPENDS="php-dev pam pam-dev autoconf automake"
    5.13 +TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
    5.14 +WEB_SITE="http://packages.debian.org/"
    5.15 +WGET_URL="http://ftp.de.debian.org/debian/pool/main/p/php-auth-pam/$TARBALL"
    5.16 +
    5.17 +
    5.18 +# Rules to configure and make the package.
    5.19 +compile_rules()
    5.20 +{
    5.21 +	test -d  ${PACKAGE}-${VERSION} \
    5.22 +		|| make ${PACKAGE}-${VERSION}.orig ${PACKAGE}-${VERSION}
    5.23 +	cd $src
    5.24 +	phpize 
    5.25 +	patch -p1 < $stuff/php-auth-pam-Makefile.global0.4.u || exit 1
    5.26 +	
    5.27 +	./configure \
    5.28 +		--prefix=/usr &&
    5.29 +	
    5.30 +	make && make DESTDIR=$DESTDIR install
    5.31 +}
    5.32 +
    5.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.34 +genpkg_rules()
    5.35 +{
    5.36 +	mkdir -p $fs/usr/share/php
    5.37 +	cp -a $_pkg/usr/lib/php/extensions/*/*.so $fs/usr/share/php
    5.38 +}
    5.39 +
    5.40 +post_install()
    5.41 +{
    5.42 +	grep -q ^extension=pam_auth.so $1/etc/php.ini || \
    5.43 +	    sed -e 's|extension=msql.so|extension=msql.so\nextension=pam_auth.so|' -i $1/etc/php.ini
    5.44 +	# Start Web server.
    5.45 +	while read daemon file; do
    5.46 +		[ -z "$1" ] || continue
    5.47 +		if [ -z "$1" -a -f "/var/run/$file" ]; then
    5.48 +			/etc/init.d/$daemon stop
    5.49 +			sleep 2
    5.50 +		fi
    5.51 +		if [ -z "$1" -a -f /etc/init.d/$daemon ]; then
    5.52 +			/etc/init.d/$daemon start
    5.53 +		fi
    5.54 +	done <<EOT
    5.55 +apache apache/httpd.pid
    5.56 +lighttpd lighttpd.pid
    5.57 +EOT
    5.58 +}
    5.59 +
    5.60 +# Pre and post remove commands for Tazpkg.
    5.61 +pre_remove()
    5.62 +{
    5.63 +	sed -i '/.*=pam_auth.so.*/d' /etc/php.ini
    5.64 +
    5.65 +	# Start Web server.
    5.66 +	while read daemon file; do
    5.67 +		if [ -f /etc/init.d/$daemon -a -f "/var/run/$file" ]; then
    5.68 +			/etc/init.d/$daemon stop
    5.69 +			sleep 2
    5.70 +			/etc/init.d/$daemon start
    5.71 +		fi
    5.72 +	done <<EOT
    5.73 +apache apache/httpd.pid
    5.74 +lighttpd lighttpd.pid
    5.75 +EOT
    5.76 +}
    5.77 +
    5.78 +
    5.79 +clean_wok()
    5.80 +{
    5.81 +	test -d  ${PACKAGE}-${VERSION} && rm -rf ${PACKAGE}-${VERSION}
    5.82 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/php-auth-pam/stuff/php-auth-pam-Makefile.global0.4.u	Thu Nov 03 17:16:52 2011 +0100
     6.3 @@ -0,0 +1,53 @@
     6.4 +--- php-auth-pam-0.4-ori/Makefile.global	Sat May  8 09:06:20 2010
     6.5 ++++ php-auth-pam-0.4/Makefile.global	Sat May  8 09:07:58 2010
     6.6 +@@ -24,7 +24,7 @@
     6.7 + 
     6.8 + install-sapi: $(OVERALL_TARGET)
     6.9 + 	@echo "Installing PHP SAPI module:       $(PHP_SAPI)"
    6.10 +-	-@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir)
    6.11 ++	-@$(mkinstalldirs) $(DESTDIR)$(INSTALL_ROOT)$(bindir)
    6.12 + 	-@if test ! -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME); then \
    6.13 + 		for i in 0.0.0 0.0 0; do \
    6.14 + 			if test -r $(phptempdir)/libphp$(PHP_MAJOR_VERSION).$(SHLIB_DL_SUFFIX_NAME).$$i; then \
    6.15 +@@ -37,19 +37,19 @@
    6.16 + 
    6.17 + install-modules: build-modules
    6.18 + 	@test -d modules && \
    6.19 +-	$(mkinstalldirs) $(INSTALL_ROOT)$(EXTENSION_DIR)
    6.20 +-	@echo "Installing shared extensions:     $(INSTALL_ROOT)$(EXTENSION_DIR)/"
    6.21 ++	$(mkinstalldirs) $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR)
    6.22 ++	@echo "Installing shared extensions:     $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR)/"
    6.23 + 	@rm -f modules/*.la >/dev/null 2>&1
    6.24 +-	@$(INSTALL) modules/* $(INSTALL_ROOT)$(EXTENSION_DIR)
    6.25 ++	@$(INSTALL) modules/* $(DESTDIR)$(INSTALL_ROOT)$(EXTENSION_DIR)
    6.26 + 
    6.27 + install-headers:
    6.28 + 	-@if test "$(INSTALL_HEADERS)"; then \
    6.29 + 		for i in `echo $(INSTALL_HEADERS)`; do \
    6.30 + 			i=`$(top_srcdir)/build/shtool path -d $$i`; \
    6.31 +-			paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
    6.32 ++			paths="$$paths $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i"; \
    6.33 + 		done; \
    6.34 + 		$(mkinstalldirs) $$paths && \
    6.35 +-		echo "Installing header files:          $(INSTALL_ROOT)$(phpincludedir)/" && \
    6.36 ++		echo "Installing header files:          $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/" && \
    6.37 + 		for i in `echo $(INSTALL_HEADERS)`; do \
    6.38 + 			if test "$(PHP_PECL_EXTENSION)"; then \
    6.39 + 				src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \
    6.40 +@@ -57,12 +57,12 @@
    6.41 + 				src=$$i; \
    6.42 + 			fi; \
    6.43 + 			if test -f "$(top_srcdir)/$$src"; then \
    6.44 +-				$(INSTALL_DATA) $(top_srcdir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \
    6.45 ++				$(INSTALL_DATA) $(top_srcdir)/$$src $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \
    6.46 + 			elif test -f "$(top_builddir)/$$src"; then \
    6.47 +-				$(INSTALL_DATA) $(top_builddir)/$$src $(INSTALL_ROOT)$(phpincludedir)/$$i; \
    6.48 ++				$(INSTALL_DATA) $(top_builddir)/$$src $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \
    6.49 + 			else \
    6.50 +-				(cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i; \
    6.51 +-				cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \
    6.52 ++				(cd $(top_srcdir)/$$src && $(INSTALL_DATA) *.h $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i; \
    6.53 ++				cd $(top_builddir)/$$src && $(INSTALL_DATA) *.h $(DESTDIR)$(INSTALL_ROOT)$(phpincludedir)/$$i) 2>/dev/null || true; \
    6.54 + 			fi \
    6.55 + 		done; \
    6.56 + 	fi
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/python-xlib/receipt	Thu Nov 03 17:16:52 2011 +0100
     7.3 @@ -0,0 +1,26 @@
     7.4 +# SliTaz package receipt.
     7.5 +
     7.6 +PACKAGE="python-xlib"
     7.7 +VERSION="0.15rc1"
     7.8 +CATEGORY="development"
     7.9 +SHORT_DESC="X client library for Python programs. ."
    7.10 +MAINTAINER="pascal.bellard@slitaz.org"
    7.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    7.12 +WEB_SITE="http://$PACKAGE.sourceforge.net/"
    7.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    7.14 +
    7.15 +DEPENDS="python"
    7.16 +BUILD_DEPENDS="python"
    7.17 +
    7.18 +# Rules to configure and make the package.
    7.19 +compile_rules()
    7.20 +{
    7.21 +	cd $src
    7.22 +	python ./setup.py install --root=$DESTDIR
    7.23 +}
    7.24 +
    7.25 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    7.26 +genpkg_rules()                                      
    7.27 +{
    7.28 +	cp -a $_pkg/usr $fs
    7.29 +}
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/qoauth/receipt	Thu Nov 03 17:16:52 2011 +0100
     8.3 @@ -0,0 +1,121 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="qoauth"
     8.7 +VERSION="1.0"
     8.8 +CATEGORY="development"
     8.9 +SHORT_DESC="OAuth support for Qt applications."
    8.10 +MAINTAINER="ben@seawolfsanctuary.com"
    8.11 +DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \
    8.12 +libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \
    8.13 +libQtOpenGL libQtSql libQtWebkit"
    8.14 +BUILD_DEPENDS="qmake qca-dev xorg-libX11-dev dbus-dev Qt4-dev slitaz-toolchain"
    8.15 +TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
    8.16 +WEB_SITE="http://github.com/ayoy/$PACKAGE"
    8.17 +WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL"
    8.18 +
    8.19 +# Rules to configure and make the package.
    8.20 +compile_rules()
    8.21 +{
    8.22 +#	echo -n "Linking..."
    8.23 +#	ln -s $src-src $src
    8.24 +#	status
    8.25 +
    8.26 +	cd $src
    8.27 +
    8.28 +	qmake PREFIX="/usr"
    8.29 +#	chmod +x configure
    8.30 +#	./configure \
    8.31 +#		--prefix=/usr
    8.32 +
    8.33 +patch -u <<ENDOFPATCH
    8.34 +--- Makefile
    8.35 ++++ Makefile
    8.36 +@@ -28,2 +28,1 @@
    8.37 +-		sub-src \\
    8.38 +-		sub-tests
    8.39 ++		sub-src
    8.40 +ENDOFPATCH
    8.41 +
    8.42 +status
    8.43 +
    8.44 +patch -u <<ENDOFPATCH
    8.45 +--- Makefile
    8.46 ++++ Makefile
    8.47 +@@ -24,8 +24,7 @@
    8.48 + MOVE          = mv -f
    8.49 + CHK_DIR_EXISTS= test -d
    8.50 + MKDIR         = mkdir -p
    8.51 +-SUBTARGETS    =  \\
    8.52 +-		sub-src
    8.53 ++SUBTARGETS    = sub-src
    8.54 +
    8.55 + src/\$(MAKEFILE):
    8.56 + 	@\$(CHK_DIR_EXISTS) src/ || \$(MKDIR) src/
    8.57 +@@ -140,16 +139,16 @@
    8.58 + qmake: qmake_all FORCE
    8.59 + 	@\$(QMAKE) -unix PREFIX=/usr -o Makefile qoauth.pro
    8.60 +
    8.61 +-qmake_all: sub-src-qmake_all sub-tests-qmake_all FORCE
    8.62 ++qmake_all: sub-src-qmake_all FORCE
    8.63 +
    8.64 +-make_default: sub-src-make_default-ordered sub-tests-make_default-ordered FORCE
    8.65 +-make_first: sub-src-make_first-ordered sub-tests-make_first-ordered FORCE
    8.66 +-all: sub-src-all-ordered sub-tests-all-ordered FORCE
    8.67 +-clean: sub-src-clean-ordered sub-tests-clean-ordered FORCE
    8.68 +-distclean: sub-src-distclean-ordered sub-tests-distclean-ordered FORCE
    8.69 ++make_default: sub-src-make_default-ordered FORCE
    8.70 ++make_first: sub-src-make_first-ordered FORCE
    8.71 ++all: sub-src-all-ordered FORCE
    8.72 ++clean: sub-src-clean-ordered FORCE
    8.73 ++distclean: sub-src-distclean-ordered FORCE
    8.74 + 	-\$(DEL_FILE) Makefile
    8.75 +-install_subtargets: sub-src-install_subtargets-ordered sub-tests-install_subtargets-ordered FORCE
    8.76 +-uninstall_subtargets: sub-src-uninstall_subtargets-ordered sub-tests-uninstall_subtargets-ordered FORCE
    8.77 ++install_subtargets: sub-src-install_subtargets-ordered FORCE
    8.78 ++uninstall_subtargets: sub-src-uninstall_subtargets-ordered FORCE
    8.79 +
    8.80 + check: sub-tests
    8.81 + 	( cd tests/ut_interface && ./ut_interface ) && ( cd tests/ft_interface && ./ft_interface )
    8.82 +ENDOFPATCH
    8.83 +
    8.84 +status
    8.85 +
    8.86 +	if [ -f /usr/include/QtOAuth ] || [ -d /usr/include/QtOAuth ] ; then
    8.87 +		echo -n "Removing QtOAuth placeholder... "
    8.88 +		rm -rf /usr/include/QtOAuth/
    8.89 +		status && echo
    8.90 +	fi
    8.91 +
    8.92 +	make -j4 && make DESTDIR=$_pkg install
    8.93 +}
    8.94 +
    8.95 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.96 +genpkg_rules()
    8.97 +{
    8.98 +	mkdir -p $fs/usr
    8.99 +	for DIRECTORY in lib include ; do
   8.100 +		cp -a $src/$DIRECTORY $fs/usr
   8.101 +	done
   8.102 +	cp  $src/src/*.h $fs/usr/include
   8.103 +
   8.104 +	mv $fs/usr/include/QtOAuth $fs/usr/include/QtOAuth.bak
   8.105 +	mkdir $fs/usr/include/QtOAuth/
   8.106 +	mv $fs/usr/include/interface.h $fs/usr/include/QtOAuth/interface.h
   8.107 +	cp $fs/usr/include/QtOAuth/interface.h $fs/usr/include/interface.h
   8.108 +	mv $fs/usr/include/QtOAuth.bak $fs/usr/include/QtOAuth/QtOAuth
   8.109 +
   8.110 +	mkdir -p $fs/usr/share/qt/mkspecs/features && \
   8.111 +	cp $src/oauth.prf $fs/usr/share/qt/mkspecs/features/oauth.prf
   8.112 +
   8.113 +	# Copy .desktop file:
   8.114 +#	cp -a $WOK/$PACKAGE/stuff/* $fs/usr
   8.115 +}
   8.116 +
   8.117 +pre_install()
   8.118 +{
   8.119 +	if [ -f /usr/include/QtOAuth ] || [ -d /usr/include/QtOAuth ] ; then
   8.120 +		echo -n "Removing QtOAuth placeholder... "
   8.121 +		rm -rf /usr/include/QtOAuth/
   8.122 +		status && echo
   8.123 +	fi
   8.124 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/rlwrap/receipt	Thu Nov 03 17:16:52 2011 +0100
     9.3 @@ -0,0 +1,30 @@
     9.4 +# SliTaz package receipt.
     9.5 +
     9.6 +PACKAGE="rlwrap"
     9.7 +VERSION="0.37"
     9.8 +CATEGORY="misc"
     9.9 +SHORT_DESC="Input history wrapper using GNU readline."
    9.10 +MAINTAINER="pascal.bellard@slitaz.org"
    9.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    9.12 +WEB_SITE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
    9.13 +WGET_URL="${WEB_SITE}$TARBALL"
    9.14 +
    9.15 +BUILD_DEPENDS="readline-dev ncurses-dev"
    9.16 +
    9.17 +# Rules to configure and make the package.
    9.18 +compile_rules()
    9.19 +{
    9.20 +	cd $src
    9.21 +	./configure --prefix=/usr \
    9.22 +		--localstatedir=/var \
    9.23 +	$CONFIGURE_ARGS &&
    9.24 +	make && make DESTDIR=$DESTDIR install
    9.25 +}
    9.26 +
    9.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    9.28 +genpkg_rules()
    9.29 +{
    9.30 +	mkdir -p $fs/usr/share
    9.31 +	cp -a $_pkg/usr/share/rlwrap $fs/usr/share
    9.32 +	cp -a $_pkg/usr/bin $fs/usr
    9.33 +}