#Packager(s): George Vlahavas (vlahavas~AT~gmail~DOT~com)
#Previous packager: Phill Watkins <ubemail~at~ymail~dot~com>

pkgname=cairomm
pkgver=1.10.0
pkgrel=1rl
source=("http://cairographics.org/releases/cairomm-$pkgver.tar.gz")
docs=("AUTHORS" "ChangeLog" "COPYING" "INSTALL" "MAINTAINERS" "NEWS" "README")
url=http://cairographics.org/cairomm/

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"cairomm (C++ Wrapper for the cairo graphics library)"
"Cairomm offers all the power of cairo with an interface familiar to"
"C++ developers, including use of the Standard Template Library where"
"it makes sense. Cairomm wraps all relevant parts of the cairo API and"
"is API/ABI stable. It is used by gtkmm since version 2.10.x"
)

build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure \
	  --prefix=/usr \
	  --sysconfdir=/etc \
	  --localstatedir=/var \
	  --libdir=/usr/lib${LIBDIRSUFFIX} \
	  --mandir=/usr/man \
	  --infodir=/usr/info \
	  --docdir=/usr/doc/$pkgname-$pkgver \
	  --build=$arch-slackware-linux \
	  --disable-documentation \
	  --disable-static
	make -j $numjobs \
	  libdocdir=/usr/doc/$pkgname-$pkgver
	make install \
	  DESTDIR=$startdir/pkg \
	  libdocdir=/usr/doc/$pkgname-$pkgver
}