wok annotate libdaemon/receipt @ rev 24766

Try fuse2 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 18:06:12 2022 +0000 (2022-03-18)
parents 6bd67b683b9c
children
rev   line source
pascal@20795 1 # SliTaz package receipt.
pascal@20795 2
pascal@20795 3 PACKAGE="libdaemon"
pascal@20795 4 VERSION="0.14"
pascal@20795 5 CATEGORY="system-tools"
pascal@20795 6 SHORT_DESC="A lightweight C library that eases the writing of UNIX daemons"
pascal@20795 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20795 8 LICENSE="LGPL2.1"
pascal@20795 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20795 10 WEB_SITE="http://0pointer.de/lennart/projects/libdaemon/"
pascal@20795 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@20795 12
pascal@24425 13 # What is the latest version available today?
pascal@24425 14 current_version()
pascal@24425 15 {
pascal@24425 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 17 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 18 }
pascal@24425 19
pascal@20795 20 # Rules to configure and make the package.
pascal@20795 21 compile_rules()
pascal@20795 22 {
pascal@20795 23 ./configure --prefix=/usr \
pascal@20795 24 $CONFIGURE_ARGS &&
pascal@20795 25 make &&
pascal@20795 26 make DESTDIR=$DESTDIR install
pascal@20795 27 }
pascal@20795 28
pascal@20795 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20795 30 genpkg_rules()
pascal@20795 31 {
pascal@20795 32 mkdir -p $fs/usr/lib
pascal@20795 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@20795 34 }