mkdepend: use external source

It is still online, so why not use it instead of embedding the zip in
git?
This commit is contained in:
Adrien Destugues
2016-08-21 21:10:03 +02:00
committed by Adrien Destugues
parent 490f47a8e0
commit 555baf7100

View File

@@ -5,9 +5,9 @@ HOMEPAGE="http://www.bearnip.com/lars/be/mkdepend.html"
COPYRIGHT="1995-2001 Lars Düning"
LICENSE="MIT"
REVISION="3"
#SOURCE_URI="http://ports.haiku-files.org/export/1051/haikuports/trunk/haiku-apps/mkdepend/source/mkdepend-1.7.zip"
SOURCE_URI="file://source/mkdepend-1.7.zip"
CHECKSUM_MD5="d4ec4fea9dd9b7292b52d780c8ee3387"
SOURCE_URI="http://www.bearnip.com/ftp/be/MkDepend-17.zip"
CHECKSUM_SHA256="a5ddc9f1ed5c987ff2dd35978b0fe36e95f1f6e90e9b68cd5c35e99a60b9da88"
SOURCE_DIR="MkDepend-$portVersion"
ARCHITECTURES="x86_gcc2 x86 x86_64"
@@ -25,17 +25,16 @@ BUILD_REQUIRES="
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
rc mkdepend.rdef
xres mkdepend.rsrc
gcc args.c getargs.c main.c nodes.c reader.c util.c -o mkdepend
make OBJ=obj
}
INSTALL()
{
mkdir -p $binDir
cp -a mkdepend $binDir
cp -a obj/mkdepend $binDir
}