wok-current annotate libmms/receipt @ rev 18633
libmms: apply patch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 27 00:31:34 2015 +0200 (2015-11-27) |
parents | 8f447cf2eee5 |
children | a78610b2eb47 |
rev | line source |
---|---|
paul@3855 | 1 # SliTaz package receipt. |
paul@3855 | 2 |
paul@3855 | 3 PACKAGE="libmms" |
slaxemulator@7214 | 4 VERSION="0.6" |
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@15473 | 8 LICENSE="LGPL2.1" |
paul@3855 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3855 | 10 WEB_SITE="http://launchpad.net/libmms" |
paul@3855 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3855 | 12 |
pascal@15473 | 13 DEPENDS="glib" |
pascal@15473 | 14 BUILD_DEPENDS="pkg-config glib-dev" |
pascal@15473 | 15 |
paul@3855 | 16 # Rules to configure and make the package. |
paul@3855 | 17 compile_rules() |
paul@3855 | 18 { |
al@18633 | 19 patch -p1 -i $stuff/libmms.patch |
al@18633 | 20 |
paul@3855 | 21 ./configure \ |
paul@3855 | 22 --prefix=/usr \ |
paul@3855 | 23 $CONFIGURE_ARGS && |
pascal@15473 | 24 make && make DESTDIR=$DESTDIR install |
paul@3855 | 25 } |
paul@3855 | 26 |
paul@3855 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3855 | 28 genpkg_rules() |
paul@3855 | 29 { |
paul@3855 | 30 mkdir -p $fs/usr/lib |
pascal@15473 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
paul@3855 | 32 } |