wok-6.x annotate neon/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 | a906e8e0aac8 |
children | b9717b1cbf18 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="neon" |
pascal@1866 | 4 VERSION="0.28.3" |
pascal@1423 | 5 CATEGORY="development" |
erjo@1217 | 6 SHORT_DESC="Neon HTTP and WebDAV client library" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
pascal@1865 | 8 DEPENDS="openssl" |
pascal@1865 | 9 BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev openssl-dev" |
erjo@1217 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 11 WEB_SITE="http://www.webdav.org/neon" |
erjo@1217 | 12 WGET_URL="http://www.webdav.org/neon/$TARBALL" |
erjo@1217 | 13 |
erjo@1217 | 14 # Rules to configure and make the package. |
erjo@1217 | 15 compile_rules() |
erjo@1217 | 16 { |
erjo@1217 | 17 cd $src |
erjo@1217 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@1865 | 19 --with-ssl=openssl --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1465 | 20 make && |
erjo@1217 | 21 make DESTDIR=$PWD/_pkg install |
erjo@1217 | 22 } |
erjo@1217 | 23 |
erjo@1217 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 25 genpkg_rules() |
erjo@1217 | 26 { |
erjo@1217 | 27 mkdir -p $fs/usr |
erjo@1217 | 28 cp -a $_pkg/usr/lib $fs/usr |
erjo@1217 | 29 cp -a $_pkg/usr/bin $fs/usr |
erjo@1217 | 30 cp -a $_pkg/usr/include $fs/usr |
erjo@1217 | 31 } |
erjo@1217 | 32 |