wok-next annotate 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
rev   line source
al@19741 1 # SliTaz package receipt v2.
pascal@11226 2
pascal@11226 3 PACKAGE="protobuf"
al@20725 4 VERSION="3.5.1"
pascal@11226 5 CATEGORY="network"
al@19741 6 SHORT_DESC="Protocol Buffers - Google's data interchange format"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15375 8 LICENSE="BSD"
al@19741 9 WEB_SITE="https://developers.google.com/protocol-buffers/"
al@19741 10
al@19741 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19741 12 WGET_URL="https://github.com/google/protobuf/archive/v$VERSION.tar.gz"
al@19741 13
al@20444 14 BUILD_DEPENDS="curl automake libtool zlib-dev python-dev"
al@21020 15 SPLIT="$PACKAGE-python $PACKAGE-dev"
pascal@11226 16
al@20604 17 compile_rules() {
al@19741 18 ./autogen.sh &&
al@20604 19 ./configure $CONFIGURE_ARGS &&
al@20604 20 fix libtool &&
al@20604 21 make &&
al@21020 22 make install || return 1
al@19741 23
al@19741 24 cd $src/python
al@21020 25 python -B setup.py install --prefix=/usr --root=$install
pascal@11226 26 }
pascal@11226 27
al@20604 28 genpkg_rules() {
al@19741 29 case $PACKAGE in
al@19741 30 protobuf)
al@19741 31 copy bin/ *.so*
al@19741 32 DEPENDS="zlib"
al@19741 33 ;;
al@19741 34 protobuf-python)
al@19741 35 copy python2.7/
al@19741 36 CAT="network|Python bindings"
al@19741 37 DEPENDS="python protobuf"
al@19741 38 ;;
al@19741 39 *-dev) copy @dev;;
al@19741 40 esac
pascal@11226 41 }