wok-current view libdshconfig/receipt @ rev 25594
Use default gcc 6.3 for asunder
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 31 19:10:51 2023 +0000 (16 months ago) |
parents | ede1d184d5c5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libdshconfig"
4 VERSION="0.20.9"
5 CATEGORY="network"
6 SHORT_DESC="Config file parser used by dsh"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.netfort.gr.jp/~dancer/software/dsh.html.en"
11 WGET_URL="https://www.netfort.gr.jp/~dancer/software/downloads/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }