forked from ports/contrib
27 lines
626 B
Plaintext
27 lines
626 B
Plaintext
# Description: Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.
|
|
# URL: http://code.google.com/p/protobuf/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: Danny Rawlins, crux at romster dot me
|
|
# Depends on: setuptools
|
|
|
|
name=protobuf
|
|
version=2.4.1
|
|
release=1
|
|
source=(http://$name.googlecode.com/files/$name-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-dependency-tracking
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
cd python
|
|
/usr/bin/python setup.py test
|
|
/usr/bin/python setup.py install --root=$PKG
|
|
}
|