# Packaged by Didier Spaier # Build and install protobuf first pkgname=$(pwd|sed "s,.*/,,") pkgver=0.8.18 pkgrel=1slint source=("http://www.northfield.ws/projects/compiz/releases/0.8.18/libcompizconfig-0.8.18.tar.xz") docs=("copying" "authors" "news" "license" "license.*" "changes") options=("nosrcpack") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (plugin required by the CCSM)" ) # compiling against protobuf needs -std=c++11 CFLAGS="-O2 -fPIC -std=c++11" build() { cd $SRC/$pkgname-$pkgver || return 1 ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --infodir=/usr/info \ --mandir=/usr/man \ --disable-static \ --build=$ARCH-slackware-linux make DESTDIR=$PKG make install rm -f $PKG/usr/lib64/*.la }