wok-next annotate neon/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 3bec5f368ce1 |
children | d5aab818505e |
rev | line source |
---|---|
al@19817 | 1 # SliTaz package receipt v2. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="neon" |
al@19817 | 4 VERSION="0.30.2" |
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" |
al@20621 | 9 WEB_SITE="https://web.archive.org/web/20170928175008/http://www.webdav.org/neon/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/neon.html" |
al@19817 | 11 |
erjo@1217 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20621 | 13 WGET_URL="https://fossies.org/linux/www/$TARBALL" |
erjo@1217 | 14 |
al@20621 | 15 BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev expat-dev" |
al@19817 | 16 SPLIT="neon-dev" |
pascal@15584 | 17 |
al@20513 | 18 compile_rules() { |
al@19817 | 19 sed -i 's|client_set|set|; s|gnutls_retr|&2|; s|type = t|cert_&|' \ |
al@19817 | 20 src/ne_gnutls.c |
al@19817 | 21 |
al@19817 | 22 ./configure \ |
al@19817 | 23 --with-ssl \ |
al@19817 | 24 --enable-shared \ |
al@19817 | 25 --disable-static \ |
al@20513 | 26 $CONFIGURE_ARGS && |
al@20599 | 27 fix libtool && |
pascal@1465 | 28 make && |
al@19817 | 29 make install |
erjo@1217 | 30 } |
erjo@1217 | 31 |
al@20513 | 32 genpkg_rules() { |
al@19817 | 33 case $PACKAGE in |
al@19817 | 34 neon) |
al@19817 | 35 copy @std |
al@20621 | 36 DEPENDS="libxml2 openssl zlib" |
al@19817 | 37 TAGS="http webdav" |
al@19817 | 38 ;; |
al@19817 | 39 *-dev) |
al@19817 | 40 copy @dev |
al@19817 | 41 DEPENDS="neon libxml2-dev openssl-dev xz-dev zlib-dev" |
al@19817 | 42 ;; |
al@19817 | 43 esac |
erjo@1217 | 44 } |