wok-6.x view lame/receipt @ rev 19461

Up tig (2.2)
author Paul Issott <paul@slitaz.org>
date Sun Oct 23 09:10:20 2016 +0100 (2016-10-23)
parents 17e313b5b9c1
children 3705d68ed8f3
line source
1 # SliTaz package receipt.
3 PACKAGE="lame"
4 VERSION="3.99.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://lame.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="gtk+-dev ncurses-dev libtinfo"
17 case "$ARCH" in
18 arm) BUILD_DEPENDS="ncurses-dev libtinfo" ;;
19 esac
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 export LDFLAGS="$LDFLAGS -ltinfo"
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 }