blob: 65201921022b8bde6e4cb8df081bf578654cae16 (
plain)
1 # Description: Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.
2 # URL: https://developers.google.com/protocol-buffers/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Danny Rawlins, crux at romster dot me
5 # Depends on: setuptools
6
7 name=protobuf
8 version=2.6.1
9 release=1
10 source=(https://github.com/google/protobuf/releases/download/v$version/$name-$version.tar.bz2)
11
12 build() {
13 cd $name-$version
14
15 ./configure \
16 --prefix=/usr \
17 --mandir=/usr/man \
18 --disable-dependency-tracking
19
20 make
21 make DESTDIR=$PKG install
22
23 cd python
24 /usr/bin/python setup.py install --root=$PKG
25 }
|