# HG changeset patch # User Christophe Lincoln # Date 1393724308 -3600 # Node ID 7e1257627587626ca8c4452a9d82509588002fbc # Parent d8dd788080719bb8aa455e090978226c5a8e82a3 popt: add to ARM arch diff -r d8dd78808071 -r 7e1257627587 acl/receipt --- a/acl/receipt Sun Mar 02 02:18:29 2014 +0100 +++ b/acl/receipt Sun Mar 02 02:38:28 2014 +0100 @@ -9,10 +9,16 @@ WEB_SITE="http://savannah.nongnu.org/projects/acl/" TARBALL="$PACKAGE-$VERSION.src.tar.gz" WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" +#HOST_ARCH="i486 arm" -DEPENDS="attr glibc-base" +DEPENDS="attr" BUILD_DEPENDS="attr-dev bash libtool" +# Handle cross compilation. +case "$ARCH" in + arm) BUILD_DEPENDS="attr-dev" ;; +esac + # Rules to configure and make the package. compile_rules() { diff -r d8dd78808071 -r 7e1257627587 popt-dev/receipt --- a/popt-dev/receipt Sun Mar 02 02:18:29 2014 +0100 +++ b/popt-dev/receipt Sun Mar 02 02:38:28 2014 +0100 @@ -8,6 +8,7 @@ LICENSE="MIT" WANTED="popt" WEB_SITE="http://directory.fsf.org/project/popt/" +HOST_ARCH="i486 arm" DEPENDS="pkg-config" diff -r d8dd78808071 -r 7e1257627587 popt/receipt --- a/popt/receipt Sun Mar 02 02:18:29 2014 +0100 +++ b/popt/receipt Sun Mar 02 02:38:28 2014 +0100 @@ -7,20 +7,15 @@ MAINTAINER="pankso@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://rpm5.org/" -WGET_URL="${WEB_SITE}files/$PACKAGE/$TARBALL" +WEB_SITE="http://directory.fsf.org/project/popt/" +WGET_URL="http://rpm5.org/files/popt/$TARBALL" +HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + ./configure $CONFIGURE_ARGS && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r d8dd78808071 -r 7e1257627587 rsync/receipt --- a/rsync/receipt Sun Mar 02 02:18:29 2014 +0100 +++ b/rsync/receipt Sun Mar 02 02:38:28 2014 +0100 @@ -9,12 +9,15 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://rsync.samba.org/" WGET_URL="${WEB_SITE}ftp/rsync/$TARBALL" -TAGS="sync" CONFIG_FILES="/etc/rsyncd.conf /etc/rsyncd.secrets" -TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE" +TAGS="sync copy secure" +#HOST_ARCH="i486 arm" DEPENDS="popt attr acl" -BUILD_DEPENDS="popt-dev acl-dev" +BUILD_DEPENDS="popt-dev attr-dev acl-dev" + +# TazPanel +TAZPANEL_DAEMON="man::rsync|help::rsync|edit|options|web::$WEB_SITE" # Rules to configure and make the package. compile_rules() @@ -23,7 +26,8 @@ ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ - --disable-iconv --disable-iconv-open \ + --disable-iconv \ + --disable-iconv-open \ $CONFIGURE_ARGS sed -i -e 's/HAVE_ICONV_H ./HAVE_ICONV_H 0/' \ -e 's/HAVE_ICONV_OPEN ./HAVE_ICONV_OPEN 0/' config.h @@ -40,7 +44,7 @@ # Config file is /etc/rsyncd.conf. # User and passwd in /etc/rsyncd.secrets, syntax : user:passwd # - cp -a stuff/etc $fs + cp -a $stuff/etc $fs chown root.root $fs/etc/init.d/* chmod 0644 $fs/etc/rsyncd.conf