wok-current annotate neon/receipt @ rev 4570
quarry: default browser is firefox
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 08 20:28:52 2009 +0100 (2009-12-08) |
parents | aa7f55234f1f |
children | bee79018e13a |
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@4286 | 8 DEPENDS="openssl" |
pascal@4286 | 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 |
pascal@4286 | 18 # SOCK_CLOEXEC needs linux 2.6.27+ |
pascal@4286 | 19 sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c |
erjo@1217 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4286 | 21 --with-ssl=openssl --mandir=/usr/share/man \ |
jozee@3488 | 22 --enable-shared --disable-static \ |
jozee@3488 | 23 $CONFIGURE_ARGS && |
pascal@1465 | 24 make && |
erjo@1217 | 25 make DESTDIR=$PWD/_pkg install |
erjo@1217 | 26 } |
erjo@1217 | 27 |
erjo@1217 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 29 genpkg_rules() |
erjo@1217 | 30 { |
pascal@3964 | 31 mkdir -p $fs/usr/lib |
pascal@3964 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1217 | 33 cp -a $_pkg/usr/bin $fs/usr |
erjo@1217 | 34 } |
erjo@1217 | 35 |