wok-current view fastjar/receipt @ rev 24885

updated mcabber (0.9.10 -> 1.1.2)
author Hans-G?nter Theisgen
date Fri Apr 01 07:52:41 2022 +0100 (2022-04-01)
parents 380ffe05937a
children 00e3b45c063b
line source
1 # SliTaz package receipt.
3 PACKAGE="fastjar"
4 VERSION="0.98"
5 CATEGORY="development"
6 SHORT_DESC="A fast C implementation of the JDK jar utility."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://savannah.nongnu.org/projects/fastjar/"
11 WGET_URL="http://download.savannah.gnu.org/releases-noredirect/fastjar/$TARBALL"
12 TAGS="java"
14 DEPENDS="glibc-base zlib"
15 BUILD_DEPENDS="slitaz-toolchain zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://download.savannah.nongnu.org/releases/fastjar/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }