wok view neon/receipt @ rev 24489

updated dmidecode (3.2 -> 3.3)
author Hans-G?nter Theisgen
date Fri Feb 18 17:31:24 2022 +0100 (2022-02-18)
parents 54e6c6e354d1
children e95024856175
line source
1 # SliTaz package receipt.
3 PACKAGE="neon"
4 VERSION="0.30.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="http://www.webdav.org/neon"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.webdav.org/neon/$TARBALL"
15 DEPENDS="expat libcomerr3 libkrb5 libssl zlib"
16 BUILD_DEPENDS="expat-dev libxml2-dev openssl-dev 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 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/bin $fs/usr
47 }