Updated .recipe for libart_lpgl so that it builds now.

This commit is contained in:
Scott McCreary
2013-09-13 16:44:55 -07:00
parent b3687b220a
commit 93dfe2ed82

View File

@@ -1,28 +1,59 @@
DESCRIPTION="Libart is a library for high-performance 2D graphics"
SUMMARY="Libart is a library for high-performance 2D graphics"
DESCRIPTION="Libart is free software (all components are either GPL or LGPL). Libart is also available for commercial licensing. Libart supports a very powerful imaging model, basically the same as SVG and the Java 2D API. It includes all PostScript imaging operations, and adds antialiasing and alpha-transparency. Libart is also highly tuned for incremental rendering. It contains data structures and algorithms suited to rapid, precise computation of Region of Interest, as well as a two-phase rendering pipeline optimized for interactive display."
HOMEPAGE="http://www.levien.com/libart/"
SRC_URI="http://ftp.gnome.org/pub/gnome/sources/libart_lgpl/2.3/libart_lgpl-2.3.21.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="722471ec8ae084af4293126d06b60880"
REVISION="1"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2001-2010 Mathieu Lacage and Raph Levien"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
libart_lgpl= $portVersion
cmd:libart2_config = $portVersion compat >= 2
lib:libart_lgpl_2 = 2.3.21 compat >= 2
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:aclocal
cmd:autoreconf
cmd:libtool
cmd:make
cmd:ld
cmd:gcc
"
BUILD()
{
cd libart_lgpl-2.3.21
libtoolize --force --copy --install
autoreconf -i
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--libdir=$LIBDIR \
--mandir=$MANDIR
make
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
cd libart_lgpl-2.3.21
make install
# prepare devel/lib
prepareInstalledDevelLibs libart_lgpl_2
# devel package
packageEntries devel \
$developDir
}
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2001-2010 Mathieu Lacage and Raph Levien"
# ----- devel package
PROVIDES_devel="
libart_lgpl_2 = $portVersion
devel:libart_lgpl_2 = 2.3.21 compat >= 2
"
REQUIRES_devel="
libart_lgpl_2 == $portVersion base
"