wok annotate libmms/receipt @ rev 6472
Up: sane-backends, sane-backends-dev to 1.0.21.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Sep 29 21:11:18 2010 +0000 (2010-09-29) |
parents | fe884d8ff264 |
children | 4bf6ae5356e1 |
rev | line source |
---|---|
paul@3855 | 1 # SliTaz package receipt. |
paul@3855 | 2 |
paul@3855 | 3 PACKAGE="libmms" |
paul@3855 | 4 VERSION="0.4" |
paul@3855 | 5 CATEGORY="development" |
paul@3855 | 6 SHORT_DESC="LibMMS is a common library for parsing mms and mmsh streams." |
paul@3855 | 7 MAINTAINER="slitaz@kacper.se" |
pascal@5003 | 8 DEPENDS="glib" |
paul@3855 | 9 BUILD_DEPENDS="pkg-config glib-dev" |
paul@3855 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3855 | 11 WEB_SITE="http://launchpad.net/libmms" |
paul@3855 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3855 | 13 |
paul@3855 | 14 # Rules to configure and make the package. |
paul@3855 | 15 compile_rules() |
paul@3855 | 16 { |
paul@3855 | 17 cd $src |
paul@3855 | 18 ./configure \ |
paul@3855 | 19 --prefix=/usr \ |
paul@3855 | 20 --infodir=/usr/share/info \ |
paul@3855 | 21 --mandir=/usr/share/man \ |
paul@3855 | 22 $CONFIGURE_ARGS && |
paul@3855 | 23 make && make DESTDIR=$PWD/_pkg install |
paul@3855 | 24 } |
paul@3855 | 25 |
paul@3855 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3855 | 27 genpkg_rules() |
paul@3855 | 28 { |
paul@3855 | 29 mkdir -p $fs/usr/lib |
paul@3855 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
paul@3855 | 31 strip --strip-unneeded $fs/usr/lib/* |
paul@3855 | 32 } |
paul@3855 | 33 |