wok-current rev 7223
Add atftp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 11 18:12:12 2010 +0100 (2010-11-11) |
parents | 004e1a25e1a3 |
children | 83a5a446092c |
files | atftp/receipt atftpd/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/atftp/receipt Thu Nov 11 18:12:12 2010 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="atftp" 1.7 +VERSION="0.7" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Advanced Trivial File Transport Protocol client." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://freshmeat.net/projects/atftp/" 1.13 +WGET_URL="http://downloads.openwrt.org/sources/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + rm -rf _pkg 2> /dev/null 1.20 + sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \ 1.21 + -e 's/^_*argz_next/__NTH(&/' argz.h 1.22 + sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c 1.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS && 1.26 + make && 1.27 + make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 +} 1.36 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/atftpd/receipt Thu Nov 11 18:12:12 2010 +0100 2.3 @@ -0,0 +1,17 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="atftpd" 2.7 +VERSION="0.7" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="Advanced Trivial File Transport Protocol server." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +WEB_SITE="http://freshmeat.net/projects/atftp/" 2.12 +WANTED="atftp" 2.13 + 2.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.15 +genpkg_rules() 2.16 +{ 2.17 + mkdir -p $fs/usr 2.18 + cp -a $_pkg/usr/sbin $fs/usr 2.19 +} 2.20 +