wok rev 15988

popt: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 02:38:28 2014 +0100 (2014-03-02)
parents d8dd78808071
children 6f52e7b054e2
files acl/receipt popt-dev/receipt popt/receipt rsync/receipt
line diff
     1.1 --- a/acl/receipt	Sun Mar 02 02:18:29 2014 +0100
     1.2 +++ b/acl/receipt	Sun Mar 02 02:38:28 2014 +0100
     1.3 @@ -9,10 +9,16 @@
     1.4  WEB_SITE="http://savannah.nongnu.org/projects/acl/"
     1.5  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
     1.6  WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
     1.7 +#HOST_ARCH="i486 arm"
     1.8  
     1.9 -DEPENDS="attr glibc-base"
    1.10 +DEPENDS="attr"
    1.11  BUILD_DEPENDS="attr-dev bash libtool"
    1.12  
    1.13 +# Handle cross compilation.
    1.14 +case "$ARCH" in
    1.15 +	arm) BUILD_DEPENDS="attr-dev" ;;
    1.16 +esac
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
     2.1 --- a/popt-dev/receipt	Sun Mar 02 02:18:29 2014 +0100
     2.2 +++ b/popt-dev/receipt	Sun Mar 02 02:38:28 2014 +0100
     2.3 @@ -8,6 +8,7 @@
     2.4  LICENSE="MIT"
     2.5  WANTED="popt"
     2.6  WEB_SITE="http://directory.fsf.org/project/popt/"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  DEPENDS="pkg-config"
    2.10  
     3.1 --- a/popt/receipt	Sun Mar 02 02:18:29 2014 +0100
     3.2 +++ b/popt/receipt	Sun Mar 02 02:38:28 2014 +0100
     3.3 @@ -7,20 +7,15 @@
     3.4  MAINTAINER="pankso@slitaz.org"
     3.5  LICENSE="MIT"
     3.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.7 -WEB_SITE="http://rpm5.org/"
     3.8 -WGET_URL="${WEB_SITE}files/$PACKAGE/$TARBALL"
     3.9 +WEB_SITE="http://directory.fsf.org/project/popt/"
    3.10 +WGET_URL="http://rpm5.org/files/popt/$TARBALL"
    3.11 +HOST_ARCH="i486 arm"
    3.12  
    3.13  # Rules to configure and make the package.
    3.14  compile_rules()
    3.15  {
    3.16 -	cd $src
    3.17 -	./configure \
    3.18 -		--prefix=/usr \
    3.19 -		--infodir=/usr/share/info \
    3.20 -		--mandir=/usr/share/man \
    3.21 -		$CONFIGURE_ARGS &&
    3.22 -	make &&
    3.23 -	make DESTDIR=$DESTDIR install
    3.24 +	./configure $CONFIGURE_ARGS &&
    3.25 +	make && make install
    3.26  }
    3.27  
    3.28  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.1 --- a/rsync/receipt	Sun Mar 02 02:18:29 2014 +0100
     4.2 +++ b/rsync/receipt	Sun Mar 02 02:38:28 2014 +0100
     4.3 @@ -9,12 +9,15 @@
     4.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     4.5  WEB_SITE="http://rsync.samba.org/"
     4.6  WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL"
     4.7 -TAGS="sync"
     4.8  CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets"
     4.9 -TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
    4.10 +TAGS="sync copy secure"
    4.11 +#HOST_ARCH="i486 arm"
    4.12  
    4.13  DEPENDS="popt attr acl"
    4.14 -BUILD_DEPENDS="popt-dev acl-dev"
    4.15 +BUILD_DEPENDS="popt-dev attr-dev acl-dev"
    4.16 +
    4.17 +# TazPanel
    4.18 +TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE"
    4.19  
    4.20  # Rules to configure and make the package.
    4.21  compile_rules()
    4.22 @@ -23,7 +26,8 @@
    4.23  	./configure \
    4.24  		--prefix=/usr \
    4.25  		--mandir=/usr/share/man \
    4.26 -		--disable-iconv --disable-iconv-open \
    4.27 +		--disable-iconv \
    4.28 +		--disable-iconv-open \
    4.29  		$CONFIGURE_ARGS
    4.30  	sed -i  -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \
    4.31  		-e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h
    4.32 @@ -40,7 +44,7 @@
    4.33  	# Config file is /etc/rsyncd.conf.
    4.34  	# User and passwd in /etc/rsyncd.secrets, syntax : user:passwd
    4.35  	#
    4.36 -	cp -a stuff/etc $fs
    4.37 +	cp -a $stuff/etc $fs
    4.38  	chown root.root $fs/etc/init.d/*
    4.39  	chmod 0644 $fs/etc/rsyncd.conf
    4.40