wok-6.x view protobuf/receipt @ rev 24452

cyrus-imapd: configured libexecdir
author Hans-G?nter Theisgen
date Tue Feb 15 17:13:46 2022 +0100 (2022-02-15)
parents f1f58e8f3b0d
children e717a4953b0e
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 ./configure \
29 CC=gcc-83 \
30 CXX=g++-83 \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }