wok-current rev 3481
Add: fastjar, a C implementation of the JDK jar utility
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Wed Jun 17 10:17:44 2009 +0000 (2009-06-17) |
parents | 07049ed346d9 |
children | b6b443f568ae |
files | fastjar/receipt gcc+gcj/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fastjar/receipt Wed Jun 17 10:17:44 2009 +0000 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fastjar" 1.7 +VERSION="0.94" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="A fast C implementation of the JDK jar utility." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glibc-base zlib" 1.12 +BUILD_DEPENDS="slitaz-toolchain zlib-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://sourceforge.net/projects/fastjar/" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + $CONFIGURE_ARGS && 1.24 + make && 1.25 + make DESTDIR=$src/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 +} 1.34 +
2.1 --- a/gcc+gcj/receipt Wed Jun 17 13:17:21 2009 +0200 2.2 +++ b/gcc+gcj/receipt Wed Jun 17 10:17:44 2009 +0000 2.3 @@ -11,7 +11,7 @@ 2.4 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \ 2.5 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ 2.6 xorg-libXinerama xorg-libXrandr xorg-libXrender xorg-libXtst" 2.7 -BUILD_DEPENDS="glibc-dev gawk flex python gmp gmp-dev mpfr mpfr-dev \ 2.8 +BUILD_DEPENDS="glibc-dev gawk flex python gmp gmp-dev mpfr mpfr-dev expat-dev \ 2.9 zlib-dev zip gtk+-dev libart_lgpl-dev xorg-dev xorg-inputproto xorg-randrproto xorg-xextproto" 2.10 TARBALL="$SOURCE-$VERSION.tar.bz2" 2.11 WEB_SITE="http://gcc.gnu.org/" 2.12 @@ -24,8 +24,12 @@ 2.13 # Get ecj.jar needed to build gcj 2.14 # (See http://gcc.gnu.org/install/configure.html --with-ecj-jar) 2.15 ECJ_PRE_PATH=`pwd` 2.16 - ECJ_JAR="ecj-latest.jar" 2.17 - ECJ_URL="ftp://sourceware.org/pub/java/$ECJ_JAR" 2.18 + ECJ_VERSION="3.4.2" 2.19 + ECJ_JAR="ecj-$ECJ_VERSION.jar" 2.20 + # Get download link from http://download.eclipse.org/eclipse/downloads/ 2.21 + ECJ_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$ECJ_VERSION-200902111700/$ECJ_JAR" 2.22 + # ECJ_JAR="ecj-latest.jar" 2.23 + # ECJ_URL="ftp://sourceware.org/pub/java/$ECJ_JAR" 2.24 if [ ! -f "$SOURCES_REPOSITORY/$ECJ_JAR" ] ; then 2.25 cd $SOURCES_REPOSITORY 2.26 download $ECJ_URL