wok-current annotate protobuf/receipt @ rev 23846

created recipe for python-random2
author Hans-G?nter Theisgen
date Sat Jun 13 15:49:44 2020 +0100 (2020-06-13)
parents 0830d8859de8
children b569b85b0fb9
rev   line source
pascal@11226 1 # SliTaz package receipt.
pascal@11226 2
pascal@11226 3 PACKAGE="protobuf"
Hans-G?nter@23449 4 VERSION="3.11.4"
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 }