wok-current view protobuf/receipt @ rev 11620
Up slitaz-boot-scripts (4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 24 11:48:19 2012 +0100 (2012-01-24) |
parents | |
children | 51a1ebbda768 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://code.google.com/p/protobuf/"
10 WGET_URL="http://protobuf.googlecode.com/files/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 $CONFIGURE_ARGS &&
19 make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 }