wok-next view protobuf/receipt @ rev 20872
perl-texi2html -> texi2html (because it don't contain Perl modules, and not exists on the (meta)cpan, and old, and...); gcompris: up (11.12 -> 17.05)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 04 02:05:23 2018 +0300 (2018-07-04) |
parents | 10df65db91ad |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="protobuf"
4 VERSION="3.5.1"
5 CATEGORY="network"
6 SHORT_DESC="Protocol Buffers - Google's data interchange format"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://developers.google.com/protocol-buffers/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/google/protobuf/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="curl automake libtool zlib-dev python-dev"
15 SPLIT="protobuf-python protobuf-dev"
17 compile_rules() {
18 ./autogen.sh &&
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install || exit 1
24 cd $src/python
25 python setup.py install --prefix=/usr --root $DESTDIR
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 protobuf)
31 copy bin/ *.so*
32 DEPENDS="zlib"
33 ;;
34 protobuf-python)
35 copy python2.7/
36 CAT="network|Python bindings"
37 DEPENDS="python protobuf"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }