wok view libmms/receipt @ rev 4414

xarchine: add tazpkg/lzma support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 21 19:02:33 2009 +0200 (2009-10-21)
parents
children 8752c40cc534
line source
1 # SliTaz package receipt.
3 PACKAGE="libmms"
4 VERSION="0.4"
5 CATEGORY="development"
6 SHORT_DESC="LibMMS is a common library for parsing mms and mmsh streams."
7 MAINTAINER="slitaz@kacper.se"
8 DEPENDS=""
9 BUILD_DEPENDS="pkg-config glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://launchpad.net/libmms"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 strip --strip-unneeded $fs/usr/lib/*
32 }