wok-4.x annotate neon/receipt @ rev 4283
neon: use gnutls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 10:58:56 2009 +0200 (2009-09-26) |
parents | 7b77e8c43460 |
children | f30d8b9a47f5 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="neon" |
jozee@3488 | 4 VERSION="0.28.4" |
pascal@1423 | 5 CATEGORY="development" |
erjo@1217 | 6 SHORT_DESC="Neon HTTP and WebDAV client library" |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
pascal@4283 | 8 DEPENDS="gnutls" |
pascal@4283 | 9 BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev gnutls-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@4283 | 19 --with-ssl=gnutls --mandir=/usr/share/man \ |
jozee@3488 | 20 --enable-shared --disable-static \ |
jozee@3488 | 21 $CONFIGURE_ARGS && |
pascal@1465 | 22 make && |
erjo@1217 | 23 make DESTDIR=$PWD/_pkg install |
erjo@1217 | 24 } |
erjo@1217 | 25 |
erjo@1217 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 27 genpkg_rules() |
erjo@1217 | 28 { |
pascal@3964 | 29 mkdir -p $fs/usr/lib |
pascal@3964 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1217 | 31 cp -a $_pkg/usr/bin $fs/usr |
erjo@1217 | 32 } |
erjo@1217 | 33 |