wok-6.x view protobuf/receipt @ rev 17104
Add libsdl2 (thanks necrophcodr)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 30 14:16:28 2014 +0000 (2014-08-30) |
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 }