wok-next view protobuf/receipt @ rev 15987

mktorrent: add to ARM and x86_64 arch
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 02:18:29 2014 +0100 (2014-03-02)
parents ab72a4d08ed3
children 9278a60d6895
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 }