Update for hpkg building

This commit is contained in:
Ingo Weinhold
2013-03-26 13:31:32 +00:00
parent 421086fdbe
commit a219f1beed

View File

@@ -1,30 +1,33 @@
SUMMARY="Standard tool to compile source trees"
DESCRIPTION="Standard tool to compile source trees." DESCRIPTION="Standard tool to compile source trees."
HOMEPAGE="http://www.gnu.org/software/make/" HOMEPAGE="http://www.gnu.org/software/make/"
SRC_URI="http://ftp.gnu.org/pub/gnu/make/make-3.82.tar.bz2" SRC_URI="http://ftp.gnu.org/pub/gnu/make/make-3.82.tar.bz2"
CHECKSUM_MD5="1a11100f3c63fcf5753818e59d63088f" CHECKSUM_MD5="1a11100f3c63fcf5753818e59d63088f"
REVISION="1" REVISION="2"
STATUS_HAIKU="broken" STATUS_HAIKU="broken"
# make-3.82 has problems/incompatibilities when doing 'make install DESTDIR' # make-3.82 has problems/incompatibilities when doing 'make install DESTDIR'
# on other packages (e.g. perl) # on other packages (e.g. perl)
DEPEND=""
PROVIDES="cmd:make = $portVersion compat >= 3.82"
DEPEND="haiku >= $haikuVersion"
BUILD_DEPEND="haiku-devel >= $haikuVersion
gcc
ld
libtool"
SOURCE_DIR="$portVersionedName"
BUILD { BUILD {
cd make-3.82 echo configureDirArgs $configureDirArgs
libtoolize --force --copy --install libtoolize --force --copy --install
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/make-3.82 ./configure $configureDirArgs \
./configure --prefix=$prefix \
--datadir=$prefix/data \
--sbindir=$prefix/bin \
--includedir=$prefix/develop/headers \
--sysconfdir=$prefix/settings \
--infodir=$prefix/documentation/info \
--mandir=$prefix/documentation/man \
--disable-rpath --with-gnu-ld --disable-rpath --with-gnu-ld
./build.sh ./build.sh
} }
INSTALL { INSTALL {
cd make-3.82
./make install ./make install
} }
LICENSE="GNU GPL v3" LICENSE="GNU GPL v3"
COPYRIGHT="1988-2010 Free Software Foundation, Inc." COPYRIGHT="1988-2010 Free Software Foundation, Inc."