mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
66 lines
1.2 KiB
Plaintext
66 lines
1.2 KiB
Plaintext
SUMMARY="Anti-Grain Geometry (AGG)"
|
|
DESCRIPTION="Anti-Grain Geometry (AGG) is an Open Source, free of charge graphic library, written in industrially standard C++."
|
|
HOMEPAGE="http://antigrain.com"
|
|
SRC_URI="http://www.antigrain.com/agg-2.5.tar.gz"
|
|
REVISION="1"
|
|
CHECKSUM_MD5="0229a488bc47be10a2fee6cf0b2febd6"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="2002-2006 Maxim Shemanarev"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
lib:libagg = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku >= $haikuVersion
|
|
lib:libsdl
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
devel:libsdl
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:make
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
"
|
|
|
|
SOURCE_DIR="agg-2.5"
|
|
|
|
BUILD()
|
|
{
|
|
#libtoolize --force --copy --install
|
|
#aclocal
|
|
#autoheader
|
|
#autoconf
|
|
#automake --foreign --add-missing --ignore-deps
|
|
#./configure --prefix=$prefix
|
|
#make
|
|
cd src
|
|
g++ -o libagg.so -shared -fPIC *.cpp ctrl/*.cpp -I../include -lbe -ltranslation
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $libDir
|
|
mkdir -p $developDir/headers/agg
|
|
mkdir -p $developLibDir
|
|
|
|
cp src/libagg.so $libDir
|
|
cp src/libagg.so $developLibDir
|
|
cp -r include/* $developDir/headers/agg/
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
PROVIDES_devel="
|
|
devel:libagg = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
lib:libagg == $portVersion base
|
|
"
|
|
|