wok-next 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 4678e390eeaf
children c348ac291a32
files apache-dev/receipt apache-doc/receipt apr-util-dev/receipt
line diff
     1.1 --- a/apache-dev/receipt	Thu Mar 26 10:53:40 2009 +0000
     1.2 +++ b/apache-dev/receipt	Thu Mar 26 11:06:18 2009 +0000
     1.3 @@ -6,12 +6,14 @@
     1.4  SHORT_DESC="HTTP server development files."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  WEB_SITE="http://www.apache.org/"
     1.7 +SOURCE="httpd"
     1.8  WANTED="apache"
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.11  genpkg_rules()
    1.12  {
    1.13  	mkdir -p $fs/usr/share/apache $fs/usr/bin
    1.14 +	_pkg=$WOK/$SOURCE-$VERSION/_pkg
    1.15  	cp -a $_pkg/usr/include $fs/usr
    1.16  	cp -a $_pkg/usr/bin/apxs $fs/usr/bin
    1.17  	cp -a $_pkg/usr/share/apache/build $fs/usr/share/apache
     2.1 --- a/apache-doc/receipt	Thu Mar 26 10:53:40 2009 +0000
     2.2 +++ b/apache-doc/receipt	Thu Mar 26 11:06:18 2009 +0000
     2.3 @@ -6,12 +6,15 @@
     2.4  SHORT_DESC="HTTP server documentation files."
     2.5  MAINTAINER="pascal.bellard@slitaz.org"
     2.6  WEB_SITE="http://www.apache.org/"
     2.7 +SOURCE="httpd"
     2.8  WANTED="apache"
     2.9  
    2.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.11  genpkg_rules()
    2.12  {
    2.13  	mkdir -p $fs/usr/share
    2.14 +	_pkg=$WOK/$SOURCE-$VERSION/_pkg
    2.15  	cp -a $_pkg/usr/share/doc $fs/usr/share
    2.16 +	
    2.17  }
    2.18  
     3.1 --- a/apr-util-dev/receipt	Thu Mar 26 10:53:40 2009 +0000
     3.2 +++ b/apr-util-dev/receipt	Thu Mar 26 11:06:18 2009 +0000
     3.3 @@ -17,7 +17,7 @@
     3.4  	cp -a $_pkg/usr/include $fs/usr
     3.5  	cp -a $_pkg/usr/bin $fs/usr
     3.6  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
     3.7 -	cp -a $_pkg/usr/lib/apr-util-1/*.*a $fs/usr/apr-util-1
     3.8 +	cp -a $_pkg/usr/lib/apr-util-1/*.*a $fs/usr/lib/apr-util-1
     3.9  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    3.10  }
    3.11