wok view protobuf/receipt @ rev 19875
linld: fix chdirname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 12:51:11 2017 +0200 (2017-03-31) |
parents | ab72a4d08ed3 |
children | 6135577f4d08 |
line source
1 # SliTaz package receipt.
3 PACKAGE="protobuf"
4 VERSION="2.4.1"
5 CATEGORY="network"
6 SHORT_DESC="Encode structured data in an efficient yet extensible format."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://code.google.com/p/protobuf/"
11 WGET_URL="http://protobuf.googlecode.com/files/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }