mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Agg 2.5
This commit is contained in:
@@ -1,27 +1,65 @@
|
||||
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"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
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()
|
||||
{
|
||||
cd agg-2.5
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoheader
|
||||
autoconf
|
||||
automake --foreign --add-missing --ignore-deps
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
#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()
|
||||
{
|
||||
cd agg-2.5
|
||||
make install DESTDIR=${DESTDIR}
|
||||
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
|
||||
"
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2002-2006 Maxim Shemanarev"
|
||||
|
||||
Reference in New Issue
Block a user