Files
haikuports/media-libs/libart_lgpl/libart_lgpl-2.3.21.recipe
2013-12-21 02:57:58 -08:00

67 lines
1.9 KiB
Plaintext

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"
CHECKSUM_MD5="722471ec8ae084af4293126d06b60880"
REVISION="1"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2001-2010 Mathieu Lacage and Raph Levien"
ARCHITECTURES="x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libart_lgpl$secondaryArchSuffix = $portVersion
lib:libart_lgpl_2$secondaryArchSuffix = 2.3.21 compat >= 2
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:libtool
cmd:make
cmd:ld${secondaryArchSuffix}
cmd:gcc${secondaryArchSuffix}
"
BUILD()
{
libtoolize --force --copy --install
autoreconf -i
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
# prepare devel/lib
prepareInstalledDevelLibs libart_lgpl_2
# devel package
packageEntries devel \
$developDir \
$binDir
}
# ----- devel package
PROVIDES_devel="
libart_lgpl_2$secondaryArchSuffix = $portVersion
devel:libart_lgpl_2$secondaryArchSuffix = 2.3.21 compat >= 2
cmd:libart2_config$secondaryArchSuffix = $portVersion compat >= 2
"
REQUIRES_devel="
libart_lgpl_2$secondaryArchSuffix == $portVersion base
"