wok-next view neon/receipt @ rev 20599
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Apr 17 00:06:41 2018 +0300 (2018-04-17) |
parents | d43bf7aae921 |
children | 4a67f7e79846 |
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"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/neon.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.webdav.org/neon/$TARBALL"
15 BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev"
16 SPLIT="neon-dev"
18 compile_rules() {
19 sed -i 's|client_set|set|; s|gnutls_retr|&2|; s|type = t|cert_&|' \
20 src/ne_gnutls.c
22 ./configure \
23 --with-ssl \
24 --enable-shared \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 neon)
35 copy @std
36 DEPENDS="openssl liblzma libxml2 zlib"
37 TAGS="http webdav"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="neon libxml2-dev openssl-dev xz-dev zlib-dev"
42 ;;
43 esac
44 }