wok-current view lame/receipt @ rev 22144
updated x264 and x264-dev (20160517-2245 -> 20191105-2245)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 06 15:16:51 2019 +0100 (2019-11-06) |
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 }