Files
haikuports/dev-util/bakefile/bakefile-0.2.8.recipe
2017-11-22 18:52:24 +01:00

57 lines
1.1 KiB
Bash

SUMMARY="Native makefiles generator"
DESCRIPTION="Bakefile is cross-platform, cross-compiler native makefiles \
generator. It takes compiler-independent description of build tasks as input \
and generates native makefile (autoconf's Makefile.in, Visual C++ project, \
bcc makefile etc.)."
HOMEPAGE="http://www.bakefile.org"
COPYRIGHT="2003-2007 Vaclav Slavik"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="http://sourceforge.net/projects/bakefile/files/bakefile/0.2.8/bakefile-0.2.8.tar.gz/download"
CHECKSUM_SHA256="e262b5edff1c9126cc32de7d3fcef5b24e997156f91f5a6eeccb45d29522fd1c"
PATCHES="
bakefile-0.2.8.patch
"
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
PROVIDES="
bakefile = $portVersion
cmd:bakefile = $portVersion
"
REQUIRES="
haiku
cmd:python
"
BUILD_REQUIRES="
devel:libpython2.7
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:make
cmd:touch
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:libtoolize
cmd:autoreconf
"
BUILD()
{
touch ./ChangeLog
libtoolize --force --copy --install
aclocal
automake --add-missing
autoreconf -i
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install DESTDIR=${developDir}
}