wok-6.x view lame/receipt @ rev 20258
Add giflossy (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 14 12:58:37 2018 +0100 (2018-03-14) |
parents | 0c85455b2f3b |
children | 9b51132bd0a9 |
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 sed -i 's|uname -m|echo i486|' Makefile.unix
25 export LDFLAGS="$LDFLAGS -ltinfo"
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/bin $fs/usr
41 }