wok annotate protobuf/receipt @ rev 20901
updated expect (5.45 -> 5.45.4)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 26 17:33:50 2019 +0100 (2019-02-26) |
parents | 51a1ebbda768 |
children | a7a6421d4dc4 |
rev | line source |
---|---|
pascal@11226 | 1 # SliTaz package receipt. |
pascal@11226 | 2 |
pascal@11226 | 3 PACKAGE="protobuf" |
pascal@11226 | 4 VERSION="2.4.1" |
pascal@11226 | 5 CATEGORY="network" |
pascal@11226 | 6 SHORT_DESC="Encode structured data in an efficient yet extensible format." |
pascal@11226 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15375 | 8 LICENSE="BSD" |
pascal@11226 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20679 | 10 WEB_SITE="https://developers.google.com/protocol-buffers/" |
pascal@11226 | 11 WGET_URL="http://protobuf.googlecode.com/files/$TARBALL" |
pascal@11226 | 12 |
pascal@11226 | 13 # Rules to configure and make the package. |
pascal@11226 | 14 compile_rules() |
pascal@11226 | 15 { |
pascal@11226 | 16 cd $src |
pascal@11226 | 17 ./configure \ |
pascal@11226 | 18 --prefix=/usr \ |
pascal@11226 | 19 $CONFIGURE_ARGS && |
pascal@11226 | 20 make && make install |
pascal@11226 | 21 } |
pascal@11226 | 22 |
pascal@11226 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11226 | 24 genpkg_rules() |
pascal@11226 | 25 { |
pascal@11226 | 26 mkdir -p $fs/usr/lib |
pascal@11226 | 27 cp -a $install/usr/bin $fs/usr |
pascal@11226 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11226 | 29 } |