wok-next annotate neon/receipt @ rev 20042
pigz, pxe-kexec: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 22 20:53:07 2017 +0200 (2017-10-22) |
parents | 3765f181a6d5 |
children | e6615350078d |
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@19817 | 9 WEB_SITE="http://www.webdav.org/neon" |
al@19817 | 10 |
erjo@1217 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@1217 | 12 WGET_URL="http://www.webdav.org/neon/$TARBALL" |
erjo@1217 | 13 |
al@19817 | 14 BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev" |
al@19817 | 15 SPLIT="neon-dev" |
pascal@15584 | 16 |
erjo@1217 | 17 # Rules to configure and make the package. |
erjo@1217 | 18 compile_rules() |
erjo@1217 | 19 { |
al@19817 | 20 # http://www.linuxfromscratch.org/blfs/view/stable/basicnet/neon.html |
al@19817 | 21 sed -i 's|client_set|set|; s|gnutls_retr|&2|; s|type = t|cert_&|' \ |
al@19817 | 22 src/ne_gnutls.c |
al@19817 | 23 |
al@19817 | 24 ./configure \ |
al@19817 | 25 --with-ssl \ |
al@19817 | 26 --enable-shared \ |
al@19817 | 27 --disable-static \ |
jozee@3488 | 28 $CONFIGURE_ARGS && |
pascal@1465 | 29 make && |
al@19817 | 30 make install |
erjo@1217 | 31 } |
erjo@1217 | 32 |
erjo@1217 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 34 genpkg_rules() |
erjo@1217 | 35 { |
al@19817 | 36 case $PACKAGE in |
al@19817 | 37 neon) |
al@19817 | 38 copy @std |
al@19817 | 39 TAGS="http webdav" |
al@19817 | 40 DEPENDS="libcrypto liblzma libssl libxml2 zlib" |
al@19817 | 41 ;; |
al@19817 | 42 *-dev) |
al@19817 | 43 copy @dev |
al@19817 | 44 DEPENDS="neon libxml2-dev openssl-dev xz-dev zlib-dev" |
al@19817 | 45 ;; |
al@19817 | 46 esac |
erjo@1217 | 47 } |
erjo@1217 | 48 |
erjo@8739 | 49 |