wok annotate lame/receipt @ rev 19089

cross/arm: fix build for aterm flex lame ppp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 30 20:15:47 2016 +0200 (2016-04-30)
parents 17e313b5b9c1
children 3705d68ed8f3
rev   line source
pankso@144 1 # SliTaz package receipt.
pankso@144 2
pankso@144 3 PACKAGE="lame"
slaxemulator@12377 4 VERSION="3.99.4"
pankso@206 5 CATEGORY="multimedia"
pankso@144 6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder."
pankso@144 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
slaxemulator@6227 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@16014 10 WEB_SITE="http://lame.sourceforge.net/"
pankso@16014 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@16014 12 HOST_ARCH="i486 arm"
pankso@16014 13
pascal@2479 14 DEPENDS="ncurses"
pascal@19089 15 BUILD_DEPENDS="gtk+-dev ncurses-dev libtinfo"
pankso@16014 16
pankso@16014 17 case "$ARCH" in
pascal@19089 18 arm) BUILD_DEPENDS="ncurses-dev libtinfo" ;;
pankso@16014 19 esac
pankso@144 20
pankso@144 21 # Rules to configure and make the package.
pankso@144 22 compile_rules()
pankso@144 23 {
pascal@17670 24 export LDFLAGS="$LDFLAGS -ltinfo"
pankso@144 25 ./configure \
pankso@144 26 --prefix=/usr \
pankso@144 27 --infodir=/usr/share/info \
pankso@144 28 --mandir=/usr/share/man \
pascal@1439 29 $CONFIGURE_ARGS &&
pascal@1439 30 make &&
slaxemulator@11159 31 make DESTDIR=$DESTDIR install
pankso@144 32 }
pankso@144 33
pankso@144 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@144 35 genpkg_rules()
pankso@144 36 {
pankso@144 37 mkdir -p $fs/usr/lib
pascal@15004 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15004 39 cp -a $install/usr/bin $fs/usr
pankso@144 40 }