2007-05-13 20:36:39 +10:00
|
|
|
# Description: C++ wrapper for the cairo graphics library.
|
|
|
|
# URL: http://cairographics.org/cairomm/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2008-12-21 00:05:07 +11:00
|
|
|
# Depends on: cairo libsigc++
|
2007-05-13 20:36:39 +10:00
|
|
|
|
|
|
|
name=cairomm
|
2017-02-11 12:33:11 +11:00
|
|
|
version=1.12.2
|
2007-05-13 20:36:39 +10:00
|
|
|
release=1
|
2017-02-11 12:33:11 +11:00
|
|
|
source=(https://cairographics.org/releases/$name-$version.tar.gz)
|
2007-05-13 20:36:39 +10:00
|
|
|
|
|
|
|
build() {
|
2008-08-16 21:10:05 +10:00
|
|
|
cd $name-$version
|
2007-05-13 20:36:39 +10:00
|
|
|
|
2017-02-11 12:33:11 +11:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
./configure --prefix=/usr
|
|
|
|
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
2007-05-13 20:36:39 +10:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2010-05-16 10:51:53 +10:00
|
|
|
|
|
|
|
rm -r \
|
|
|
|
$PKG/usr/share/doc \
|
|
|
|
$PKG/usr/share/devhelp/books
|
|
|
|
|
|
|
|
rmdir \
|
|
|
|
$PKG/usr/share/devhelp \
|
|
|
|
$PKG/usr/share
|
2007-05-13 20:36:39 +10:00
|
|
|
}
|