wok view neon/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
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 }