wok-next view neon/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="neon"
4 VERSION="0.30.2"
5 CATEGORY="development"
6 SHORT_DESC="Neon HTTP and WebDAV client library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://web.archive.org/web/20170923042221/http://webdav.org:80/neon/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/neon.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://fossies.org/linux/www/$TARBALL"
15 COOKOPTS="force-arch" # different configs, .pc
17 BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev expat-dev"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 sed -i 's|client_set|set|; s|gnutls_retr|&2|; s|type = t|cert_&|' \
22 src/ne_gnutls.c
24 ./configure \
25 --with-ssl \
26 --enable-shared \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 neon)
37 copy @std
38 DEPENDS="libxml2 openssl zlib"
39 TAGS="http webdav"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="neon libxml2-dev openssl-dev xz-dev zlib-dev"
44 ;;
45 esac
46 }