wok-next view neon/receipt @ rev 20990
Remove mate116 stash
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 02 22:23:34 2018 +0300 (2018-10-02) |
parents | 4a67f7e79846 |
children | f48456621a9d |
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="https://web.archive.org/web/20170928175008/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="https://fossies.org/linux/www/$TARBALL"
15 BUILD_DEPENDS="zlib-dev openssl-dev libxml2-dev expat-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="libxml2 openssl 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 }