30 lines
593 B
Plaintext
30 lines
593 B
Plaintext
# Description: C++ wrapper for the cairo graphics library.
|
|
# URL: http://cairographics.org/cairomm/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: cairo libsigc++2
|
|
|
|
name=cairomm12
|
|
version=1.12.2
|
|
release=1
|
|
source=(https://cairographics.org/releases/cairomm-$version.tar.gz)
|
|
|
|
build() {
|
|
cd cairomm-$version
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
./configure --prefix=/usr
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r \
|
|
$PKG/usr/share/doc \
|
|
$PKG/usr/share/devhelp/books
|
|
|
|
rmdir \
|
|
$PKG/usr/share/devhelp \
|
|
$PKG/usr/share
|
|
}
|