#Maintainer: Dimitris Tzemos pkgname=protobuf pkgver=2.3.0 pkgrel=1dj source=("http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.bz2") docs=("CHANGES.txt" "CONTRIBUTORS.txt" "COPYING.txt" "INSTALL.txt" "README.txt") url=http://code.google.com/p/protobuf slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "protobuf (Google's data interchange format)" "Protocol buffers are a flexible, efficient, automated mechanism for" "serializing structured data, think XML, but smaller, faster, and" "simpler. You define how you want your data to be structured once," "then you can use special generated source code to easily write and" "read your structured data to and from a variety of data streams" "and using a variety of languages. You can even update your data" "structure without breaking deployed programs that are compiled" "against the 'old' format." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --build=$arch-slackware-linux make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg chown -R root:root $startdir/pkg }