wok-current annotate protobuf/receipt @ rev 11226

Add from wok-undigest: nvclock ola ola-dev owfs oxine protobuf protobuf-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 04 11:10:38 2011 +0100 (2011-11-04)
parents
children 51a1ebbda768
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@11226 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11226 9 WEB_SITE="http://code.google.com/p/protobuf/"
pascal@11226 10 WGET_URL="http://protobuf.googlecode.com/files/$TARBALL"
pascal@11226 11
pascal@11226 12 # Rules to configure and make the package.
pascal@11226 13 compile_rules()
pascal@11226 14 {
pascal@11226 15 cd $src
pascal@11226 16 ./configure \
pascal@11226 17 --prefix=/usr \
pascal@11226 18 $CONFIGURE_ARGS &&
pascal@11226 19 make && make install
pascal@11226 20 }
pascal@11226 21
pascal@11226 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11226 23 genpkg_rules()
pascal@11226 24 {
pascal@11226 25 mkdir -p $fs/usr/lib
pascal@11226 26 cp -a $install/usr/bin $fs/usr
pascal@11226 27 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11226 28 }