wok annotate apache-dev/receipt @ rev 2552
apache-dev, apache-doc: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 11:20:53 2009 +0000 (2009-03-26) |
parents | dbe2f3834437 |
children | 310ebb8092aa |
rev | line source |
---|---|
pascal@1313 | 1 # SliTaz package receipt. |
pascal@1313 | 2 |
pascal@1313 | 3 PACKAGE="apache-dev" |
pascal@2507 | 4 VERSION="2.2.11" |
pascal@1313 | 5 CATEGORY="development" |
pascal@1313 | 6 SHORT_DESC="HTTP server development files." |
pascal@1313 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1313 | 8 WEB_SITE="http://www.apache.org/" |
pascal@2549 | 9 SOURCE="httpd" |
pascal@1313 | 10 WANTED="apache" |
pascal@1313 | 11 |
pascal@1313 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1313 | 13 genpkg_rules() |
pascal@1313 | 14 { |
pascal@1313 | 15 mkdir -p $fs/usr/share/apache $fs/usr/bin |
pascal@2552 | 16 _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg |
pascal@1313 | 17 cp -a $_pkg/usr/include $fs/usr |
pascal@1313 | 18 cp -a $_pkg/usr/bin/apxs $fs/usr/bin |
pascal@1313 | 19 cp -a $_pkg/usr/share/apache/build $fs/usr/share/apache |
pascal@1313 | 20 } |
pascal@1313 | 21 |