wok annotate protobuf/receipt @ rev 21814
Patch evolution-data-server & rogue
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 18 18:56:26 2019 +0200 (2019-08-18) |
parents | 42feee1f9a23 |
children | f1f58e8f3b0d |
rev | line source |
---|---|
pascal@11226 | 1 # SliTaz package receipt. |
pascal@11226 | 2 |
pascal@11226 | 3 PACKAGE="protobuf" |
Hans-G?nter@21715 | 4 VERSION="3.8.0" |
pascal@11226 | 5 CATEGORY="network" |
Hans-G?nter@21715 | 6 SHORT_DESC="Protocol buffers - Google's data interchange format." |
pascal@11226 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15375 | 8 LICENSE="BSD" |
Hans-G?nter@21715 | 9 WEB_SITE="https://github.com/protocolbuffers/protobuf/" |
Hans-G?nter@21715 | 10 |
Hans-G?nter@21715 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21715 | 12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" |
Hans-G?nter@21715 | 13 |
pascal@21761 | 14 DEPENDS="gcc83-lib-base libatomic" |
Hans-G?nter@21717 | 15 BUILD_DEPENDS="automake gcc83 libtool" |
pascal@11226 | 16 |
pascal@11226 | 17 # Rules to configure and make the package. |
pascal@11226 | 18 compile_rules() |
pascal@11226 | 19 { |
Hans-G?nter@21715 | 20 ./autogen.sh && |
Hans-G?nter@21715 | 21 ./configure \ |
Hans-G?nter@21715 | 22 CC=gcc-83 \ |
Hans-G?nter@21715 | 23 CXX=g++-83 \ |
Hans-G?nter@21715 | 24 --prefix=/usr \ |
pascal@11226 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@21715 | 26 make && |
Hans-G?nter@21715 | 27 make install |
pascal@11226 | 28 } |
pascal@11226 | 29 |
pascal@11226 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11226 | 31 genpkg_rules() |
pascal@11226 | 32 { |
pascal@11226 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@21715 | 34 |
Hans-G?nter@21715 | 35 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21715 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11226 | 37 } |