wok-current annotate apache-dev/receipt @ rev 2549
apache-dev, apache-doc, apr-util-dev: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 11:06:18 2009 +0000 (2009-03-26) |
parents | 1c31c18f3b12 |
children | e9b5cd52f160 |
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@2549 | 16 _pkg=$WOK/$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 |