wok view lame/receipt @ rev 23420
updated perl-yaml (0.71 -> 1.30)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 07:56:43 2020 +0100 (2020-04-01) |
parents | 3705d68ed8f3 |
children | 65d7d867e0c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lame"
4 VERSION="3.100"
5 CATEGORY="multimedia"
6 TAGS="audio encoder mp3"
7 SHORT_DESC="MPEG Audio Layer III (MP3) encoder."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL2"
10 WEB_SITE="http://lame.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="gtk+-dev ncurses-dev libtinfo"
17 HOST_ARCH="i486 arm"
19 case "$ARCH" in
20 arm) BUILD_DEPENDS="ncurses-dev libtinfo" ;;
21 esac
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|uname -m|echo i486|' Makefile.unix
27 export LDFLAGS="$LDFLAGS -ltinfo"
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 }