wok annotate lame/receipt @ rev 24357

updated bacon (3.9.3 -> 4.4)
author Hans-G?nter Theisgen
date Thu Feb 03 16:37:54 2022 +0100 (2022-02-03)
parents 3705d68ed8f3
children 65d7d867e0c1
rev   line source
pankso@144 1 # SliTaz package receipt.
pankso@144 2
pankso@144 3 PACKAGE="lame"
Hans-G?nter@21095 4 VERSION="3.100"
pankso@206 5 CATEGORY="multimedia"
Hans-G?nter@21095 6 TAGS="audio encoder mp3"
pankso@144 7 SHORT_DESC="MPEG Audio Layer III (MP3) encoder."
pankso@144 8 MAINTAINER="pankso@slitaz.org"
pascal@15004 9 LICENSE="LGPL2"
Hans-G?nter@21095 10 WEB_SITE="http://lame.sourceforge.net/"
Hans-G?nter@21095 11
slaxemulator@6227 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16014 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16014 14
pascal@2479 15 DEPENDS="ncurses"
pascal@19089 16 BUILD_DEPENDS="gtk+-dev ncurses-dev libtinfo"
Hans-G?nter@21095 17 HOST_ARCH="i486 arm"
pankso@16014 18
pankso@16014 19 case "$ARCH" in
pascal@19089 20 arm) BUILD_DEPENDS="ncurses-dev libtinfo" ;;
pankso@16014 21 esac
pankso@144 22
pankso@144 23 # Rules to configure and make the package.
pankso@144 24 compile_rules()
pankso@144 25 {
pascal@20212 26 sed -i 's|uname -m|echo i486|' Makefile.unix
pascal@17670 27 export LDFLAGS="$LDFLAGS -ltinfo"
Hans-G?nter@21095 28
Hans-G?nter@21095 29 ./configure \
Hans-G?nter@21095 30 --prefix=/usr \
Hans-G?nter@21095 31 --infodir=/usr/share/info \
Hans-G?nter@21095 32 --mandir=/usr/share/man \
pascal@1439 33 $CONFIGURE_ARGS &&
Hans-G?nter@21095 34 make -j 1 &&
slaxemulator@11159 35 make DESTDIR=$DESTDIR install
pankso@144 36 }
pankso@144 37
pankso@144 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@144 39 genpkg_rules()
pankso@144 40 {
pankso@144 41 mkdir -p $fs/usr/lib
Hans-G?nter@21095 42
Hans-G?nter@21095 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21095 44 cp -a $install/usr/bin $fs/usr
pankso@144 45 }