wok-6.x annotate protobuf/receipt @ rev 15437
Up: evas-dev (1.7.9)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 20:57:36 2013 +0100 (2013-11-05) |
parents | ab72a4d08ed3 |
children | 6135577f4d08 |
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@11226 | 10 WEB_SITE="http://code.google.com/p/protobuf/" |
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 } |