wok view neon/receipt @ rev 25576

Up nimrod (1.6.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 17:57:27 2023 +0000 (19 months ago)
parents 241fb98cab1c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="neon"
4 VERSION="0.32.2"
5 CATEGORY="development"
6 TAGS="http webdav"
7 SHORT_DESC="Neon HTTP and WebDAV client library."
8 MAINTAINER="lehswe@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://notroj.github.io/neon/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://notroj.github.io/$PACKAGE/$TARBALL"
15 DEPENDS="expat libcomerr3 libkrb5 libssl zlib"
16 BUILD_DEPENDS="expat-dev libxml2-dev openssl-dev xmlto zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://notroj.github.io/neon/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --with-ssl=openssl \
32 --mandir=/usr/share/man \
33 --enable-shared \
34 --disable-static \
35 --with-libxml2 \
36 $CONFIGURE_ARGS &&
37 make &&
38 make install DESTDIR=$DESTDIR
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders bin
45 cook_copy_files *.so*
46 }