libart: new deps style, subpkgs.

--HG--
extra : convert_revision : 5e09e5a44071a6b47c69c489d1e8c2c307edf9e2
This commit is contained in:
Juan RP 2009-05-13 15:52:45 +02:00
parent 518a528ca3
commit 59c2be9eb2
4 changed files with 29 additions and 5 deletions

1
templates/libart-devel Symbolic link
View file

@ -0,0 +1 @@
libart

2
templates/libart/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=2.3.20
api_depends=${abi_depends}

View file

@ -0,0 +1,19 @@
# Template file for 'libart-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libart
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr
}

View file

@ -1,15 +1,13 @@
# Template build file for 'libart'.
pkgname=libart
sourcepkg=$pkgname
version=2.3.20
wrksrc="libart_lgpl-$version"
distfiles="
http://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/libart_lgpl-$version.tar.bz2"
distfiles="${GNOME_SITE}/libart_lgpl/2.3/libart_lgpl-$version.tar.bz2"
build_style=gnu_configure
make_cmd="$XBPS_MASTERDIR/bin/gmake"
pkgconfig_override="libart-2.0.pc"
short_desc="High-performance 2D graphics library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=184cd3dd96e9cfadcba327644bc8c9dd32da26fa
checksum=d5531ae3a206a9b5cc74e9a20d89d61b2ba3ba03d342d6a2ed48d2130ad3d847
long_desc="
Libart is a library for high-performance 2D graphics. It is currently
being used as the antialiased rendering engine for the Gnome Canvas.
@ -23,3 +21,7 @@ long_desc="
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."
subpackages="devel"
Add_dependency build pkg-config
Add_dependency run glibc