wok view lame/receipt @ rev 19880
obexftp: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 02 17:28:17 2017 +0200 (2017-04-02) |
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 }