wok-next view neon/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | 3765f181a6d5 |
children | e6615350078d |
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="lehswe@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.webdav.org/neon"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.webdav.org/neon/$TARBALL"
14 BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev"
15 SPLIT="neon-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/basicnet/neon.html
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 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 neon)
38 copy @std
39 TAGS="http webdav"
40 DEPENDS="libcrypto liblzma libssl libxml2 zlib"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="neon libxml2-dev openssl-dev xz-dev zlib-dev"
45 ;;
46 esac
47 }