wok-next annotate neon/receipt @ rev 19069
Small adjustments. Thanks Pascal.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 23:28:11 2016 -0300 (2016-04-21) |
parents | 10433f99c987 |
children | e5a5af728c96 |
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@15584 | 8 LICENSE="GPL2" |
erjo@1217 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 10 WEB_SITE="http://www.webdav.org/neon" |
erjo@1217 | 11 WGET_URL="http://www.webdav.org/neon/$TARBALL" |
jozee@4969 | 12 TAGS="http webdav" |
erjo@1217 | 13 |
pascal@15584 | 14 DEPENDS="libssl zlib libkrb5 libcomerr3 expat" |
pascal@15584 | 15 BUILD_DEPENDS="zlib-dev libxml2-dev expat-dev openssl-dev" |
pascal@15584 | 16 |
erjo@1217 | 17 # Rules to configure and make the package. |
erjo@1217 | 18 compile_rules() |
erjo@1217 | 19 { |
erjo@1217 | 20 cd $src |
pascal@4286 | 21 # SOCK_CLOEXEC needs linux 2.6.27+ |
pascal@5421 | 22 #sed -i 's/| SOCK_CLOEXEC//' src/ne_socket.c |
erjo@1217 | 23 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@4286 | 24 --with-ssl=openssl --mandir=/usr/share/man \ |
jozee@3488 | 25 --enable-shared --disable-static \ |
jozee@3488 | 26 $CONFIGURE_ARGS && |
pascal@1465 | 27 make && |
pascal@15584 | 28 make DESTDIR=$DESTDIR install |
erjo@1217 | 29 } |
erjo@1217 | 30 |
erjo@1217 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 32 genpkg_rules() |
erjo@1217 | 33 { |
pascal@3964 | 34 mkdir -p $fs/usr/lib |
pascal@15584 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15584 | 36 cp -a $install/usr/bin $fs/usr |
erjo@1217 | 37 } |
erjo@1217 | 38 |
erjo@8739 | 39 |