Convert fastjar to working recipe

This commit is contained in:
Chris Roberts
2013-11-24 20:50:16 -07:00
parent bde0da4180
commit 1d2c140ea4

View File

@@ -1,23 +1,55 @@
DESCRIPTION="A jar program written in C"
SUMMARY="A jar(java archive) program written in C"
DESCRIPTION="
FastJar is an attempt at creating a feature-for-feature copy of Sun's
JDK's 'jar' command. Sun's jar (or Blackdown's for that matter) is
written entirely in Java which makes it dog slow. Since FastJar is
written in C, it can create the same .jar file as Sun's tool in a
fraction of the time.
"
HOMEPAGE="https://savannah.nongnu.org/projects/fastjar"
SRC_URI="http://mirror.its.uidaho.edu/pub/savannah/fastjar/fastjar-0.98.tar.gz"
LICENSE="GNU GPL v2"
COPYRIGHT="1999-2001 Bryan Burns, Cory Jon Hollingsworth, Matthias Klose (documentation)
2007-2009 Dalibor Topic"
SRC_URI="http://download.savannah.gnu.org/releases/fastjar/fastjar-0.98.tar.gz"
CHECKSUM_MD5="d2d264d343d4d0e1575832cc1023c3bf"
REVISION="2"
STATUS_HAIKU="stable"
DEPEND=""
REVISION="1"
ARCHITECTURES="x86 ?x86_gcc2 ?x86_64"
PROVIDES="
fastjar = $portVersion
cmd:fastjar = $portVersion
cmd:grepjar = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lib:libz
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
devel:libz
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:autoconf
cmd:aclocal
cmd:automake
cmd:libtoolize
cmd:make
cmd:gcc
"
BUILD()
{
cd fastjar-0.98
autoreconf -vfi
configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure
make
}
INSTALL()
{
cd fastjar-0.98
make install
rm -rf $libDir
}
LICENSE="GNU GPL v2"
COPYRIGHT="1999-2001 Bryan Burns, Cory Jon Hollingsworth, Matthias Klose (documentation)
2007-2009 Dalibor Topic"