wok-next view protobuf/receipt @ rev 21720

qt4: replaced libIDL by libidl
author Hans-G?nter Theisgen
date Wed Aug 05 09:22:38 2020 +0100 (2020-08-05)
parents 0294c4c2dd54
children
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="devel@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="$PACKAGE-python $PACKAGE-dev"
17 compile_rules() {
18 ./autogen.sh &&
19 ./configure $CONFIGURE_ARGS &&
20 fix libtool &&
21 make &&
22 make install || return 1
24 cd $src/python
25 python -B setup.py install --prefix=/usr --root=$install
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 }