wok-4.x annotate bozohttpd/receipt @ rev 2604
netatalk: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 10 17:18:13 2009 +0000 (2009-04-10) |
parents | 30f642df947e |
children | f9e78593eb58 |
rev | line source |
---|---|
milka@1134 | 1 # SliTaz package receipt. |
milka@1134 | 2 |
milka@1134 | 3 PACKAGE="bozohttpd" |
milka@1134 | 4 VERSION="20080303" |
milka@1134 | 5 CATEGORY="network" |
milka@1134 | 6 SHORT_DESC="Small and secure http version 1.1 server" |
milka@1134 | 7 MAINTAINER="milka@konstelacioj.info" |
milka@1134 | 8 DEPENDS="openssl" |
milka@1134 | 9 BUILD_DEPENDS="openssl-dev" |
milka@1134 | 10 SUGGESTED="haserl" |
milka@1134 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
milka@1134 | 12 WEB_SITE="http://www.eterna.com.au/$PACKAGE/" |
milka@1134 | 13 WGET_URL="http://www.eterna.com.au/$PACKAGE/$TARBALL" |
milka@1134 | 14 |
milka@1134 | 15 # Rules to configure and make the package. |
milka@1134 | 16 compile_rules() |
milka@1134 | 17 { |
milka@1134 | 18 cd $src |
milka@1134 | 19 make -f Makefile.boot all |
milka@1134 | 20 mkdir -p $PWD/_pkg/usr/bin |
milka@1134 | 21 mv bozohttpd $PWD/_pkg/usr/bin/ |
milka@1134 | 22 } |
milka@1134 | 23 |
milka@1134 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1134 | 25 genpkg_rules() |
milka@1134 | 26 { |
erjo@1142 | 27 mkdir -p $fs/usr |
milka@1134 | 28 cp -a $_pkg/usr/bin $fs/usr |
milka@1134 | 29 strip -s $fs/usr/bin/* |
erjo@1142 | 30 } |