wok view protobuf/receipt @ rev 23095
metacity: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 11 17:26:57 2020 +0100 (2020-03-11) |
parents | 42feee1f9a23 |
children | f1f58e8f3b0d |
line source
1 # SliTaz package receipt.
3 PACKAGE="protobuf"
4 VERSION="3.8.0"
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://github.com/protocolbuffers/protobuf/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base libatomic"
15 BUILD_DEPENDS="automake gcc83 libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh &&
21 ./configure \
22 CC=gcc-83 \
23 CXX=g++-83 \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }