wok-next view neon/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 3bec5f368ce1
children d5aab818505e
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/svn/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 }