wok-current view protobuf/receipt @ rev 24110
rdesktop: add debian patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 10:48:56 2021 +0000 (2021-09-28) |
parents | 0830d8859de8 |
children | b569b85b0fb9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="protobuf"
4 VERSION="3.11.4"
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 }