wok-stable annotate neon/receipt @ rev 8028
up: xfdesktop* (4.8.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 20 02:18:47 2011 +0100 (2011-01-20) |
parents | 3dcfa6077917 |
children | 10433f99c987 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="neon" |
pascal@5420 | 4 VERSION="0.29.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@5004 | 8 DEPENDS="openssl zlib libkrb5 libcomerr3 expat" |
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" |
jozee@4969 | 13 TAGS="http webdav" |
erjo@1217 | 14 |
erjo@1217 | 15 # Rules to configure and make the package. |
erjo@1217 | 16 compile_rules() |
erjo@1217 | 17 { |
erjo@1217 | 18 cd $src |
pascal@4286 | 19 # SOCK_CLOEXEC needs linux 2.6.27+ |
pascal@5421 | 20 #sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c |
erjo@1217 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4286 | 22 --with-ssl=openssl --mandir=/usr/share/man \ |
jozee@3488 | 23 --enable-shared --disable-static \ |
jozee@3488 | 24 $CONFIGURE_ARGS && |
pascal@1465 | 25 make && |
erjo@1217 | 26 make DESTDIR=$PWD/_pkg install |
erjo@1217 | 27 } |
erjo@1217 | 28 |
erjo@1217 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 30 genpkg_rules() |
erjo@1217 | 31 { |
pascal@3964 | 32 mkdir -p $fs/usr/lib |
pascal@3964 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1217 | 34 cp -a $_pkg/usr/bin $fs/usr |
erjo@1217 | 35 } |
erjo@1217 | 36 |