SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "fastjar"

# SliTaz package receipt.

PACKAGE="fastjar"
VERSION="0.98"
CATEGORY="development"
SHORT_DESC="A fast C implementation of the JDK jar utility."
MAINTAINER="rcx@zoominternet.net"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://savannah.nongnu.org/projects/fastjar/"
WGET_URL="http://download.savannah.gnu.org/releases/fastjar/$TARBALL"
TAGS="java"

DEPENDS="glibc-base zlib"
BUILD_DEPENDS="slitaz-toolchain zlib-dev"

# What is the latest version available today?
current_version()
{
    wget -O - http://download.savannah.nongnu.org/releases/fastjar/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make  &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)