wok annotate atftp/receipt @ rev 7979
Fix: firefox needs python to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 17 17:59:07 2011 +0100 (2011-01-17) |
parents | c4d1a14891bc |
children | 8cfefe3f7f3b |
rev | line source |
---|---|
pascal@7223 | 1 # SliTaz package receipt. |
pascal@7223 | 2 |
pascal@7223 | 3 PACKAGE="atftp" |
pascal@7223 | 4 VERSION="0.7" |
pascal@7223 | 5 CATEGORY="network" |
pascal@7223 | 6 SHORT_DESC="Advanced Trivial File Transport Protocol client." |
pascal@7223 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@7223 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@7223 | 9 WEB_SITE="http://freshmeat.net/projects/atftp/" |
pascal@7223 | 10 WGET_URL="http://downloads.openwrt.org/sources/$TARBALL" |
pascal@7224 | 11 DEPENDS="ncurses" |
pascal@7224 | 12 BUILD_DEPENDS="pcre-dev" |
pascal@7223 | 13 |
pascal@7223 | 14 # Rules to configure and make the package. |
pascal@7223 | 15 compile_rules() |
pascal@7223 | 16 { |
pascal@7223 | 17 cd $src |
pascal@7223 | 18 rm -rf _pkg 2> /dev/null |
pascal@7223 | 19 sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \ |
pascal@7223 | 20 -e 's/^_*argz_next/__NTH(&/' argz.h |
pascal@7223 | 21 sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c |
pascal@7223 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@7223 | 23 --mandir=/usr/share/man \ |
pascal@7223 | 24 $CONFIGURE_ARGS && |
pascal@7223 | 25 make && |
pascal@7223 | 26 make DESTDIR=$PWD/_pkg install |
pascal@7223 | 27 } |
pascal@7223 | 28 |
pascal@7223 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7223 | 30 genpkg_rules() |
pascal@7223 | 31 { |
pascal@7223 | 32 mkdir -p $fs/usr |
pascal@7223 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@7223 | 34 } |
pascal@7223 | 35 |