wok-6.x view slang/receipt @ rev 25559

updated xfce4-ristretto 0.6.3 -> 0.8.5
author Hans-G?nter Theisgen
date Tue Apr 25 15:16:20 2023 +0100 (18 months ago)
parents 5c74e7d74dfc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="slang"
4 VERSION="2.3.2"
5 CATEGORY="development"
6 SHORT_DESC="S-Lang library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://jedsoft.org/slang/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://jedsoft.org/releases/$PACKAGE/$TARBALL"
14 DEPENDS="libpng pcre zlib"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
27 make -j1 &&
28 make -j1 elf &&
29 make -j1 static &&
30 make -j1 DESTDIR=$DESTDIR install install-static
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/slang $fs/usr/lib
41 }