wok-current annotate libdshconfig/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
parents 263151d2b6b0
children 73f36875e5a7
rev   line source
pascal@22685 1 # SliTaz package receipt.
pascal@22685 2
pascal@22685 3 PACKAGE="libdshconfig"
pascal@22685 4 VERSION="0.20.9"
pascal@22685 5 CATEGORY="network"
pascal@22685 6 SHORT_DESC="Config file parser used by dsh"
pascal@22685 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@22685 8 LICENSE="GPL2"
pascal@22685 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@22685 10 WEB_SITE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en"
pascal@22685 11 WGET_URL="https://www.netfort.gr.jp/~dancer/software/downloads/$TARBALL"
pascal@22685 12
pascal@24447 13 # What is the latest version available today?
pascal@24447 14 current_version()
pascal@24447 15 {
pascal@24447 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 18 }
pascal@24447 19
pascal@22685 20 # Rules to configure and make the package.
pascal@22685 21 compile_rules()
pascal@22685 22 {
pascal@22685 23 ./configure --prefix=/usr \
pascal@22685 24 $CONFIGURE_ARGS &&
pascal@22685 25 make &&
pascal@22685 26 make DESTDIR=$DESTDIR install
pascal@22685 27 }
pascal@22685 28
pascal@22685 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@22685 30 genpkg_rules()
pascal@22685 31 {
pascal@22685 32 mkdir -p $fs/usr/lib
pascal@22685 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@22685 34 }