wok-next view neon/receipt @ rev 20537

cups: fix cups-dev dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 23:00:35 2018 +0300 (2018-03-30)
parents e6615350078d
children 556349764d57
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 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 neon)
34 copy @std
35 DEPENDS="openssl liblzma libxml2 zlib"
36 TAGS="http webdav"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="neon libxml2-dev openssl-dev xz-dev zlib-dev"
41 ;;
42 esac
43 }