mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
70 lines
1.4 KiB
Plaintext
70 lines
1.4 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"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
|
|
|
|
PROVIDES="
|
|
lib:libagg$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libsdl$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
devel:libsdl$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:ld$secondaryArchSuffix
|
|
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 $includeDir/agg
|
|
mkdir -p $developLibDir
|
|
|
|
cp src/libagg.so $libDir
|
|
cp src/libagg.so $developLibDir
|
|
cp -r include/* $includeDir/agg/
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
PROVIDES_devel="
|
|
devel:libagg$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
lib:libagg$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|