forked from ports/contrib
25 lines
516 B
Plaintext
25 lines
516 B
Plaintext
# Description: C++ interface for the popular glib library.
|
|
# URL: https://www.gtkmm.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: gtk libsigc++
|
|
|
|
name=glibmm
|
|
version=2.50.0
|
|
release=1
|
|
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-dependency-tracking
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|