wok view lame/receipt @ rev 24750

cairo: enabled trace
author Hans-G?nter Theisgen
date Wed Mar 16 17:13:01 2022 +0100 (2022-03-16)
parents 9b51132bd0a9
children 7dd01dedad38
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://sourceforge.net/projects/lame/files/lame/ 2>/dev/null | \
27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
28 sed '/scope="row/!d;s|.*/lame/||;s|/.*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 sed -i 's|uname -m|echo i486|' Makefile.unix
35 export LDFLAGS="$LDFLAGS -ltinfo"
37 ./configure \
38 --prefix=/usr \
39 --infodir=/usr/share/info \
40 --mandir=/usr/share/man \
41 $CONFIGURE_ARGS &&
42 make -j 1 &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 cp -a $install/usr/bin $fs/usr
53 }