wok-6.x annotate lame/receipt @ rev 20212
Force host arch to i486
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 24 12:51:10 2018 +0100 (2018-02-24) |
parents | 0c85455b2f3b |
children | 9b51132bd0a9 |
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@20212 | 24 sed -i 's|uname -m|echo i486|' Makefile.unix |
pascal@17670 | 25 export LDFLAGS="$LDFLAGS -ltinfo" |
pankso@144 | 26 ./configure \ |
pankso@144 | 27 --prefix=/usr \ |
pankso@144 | 28 --infodir=/usr/share/info \ |
pankso@144 | 29 --mandir=/usr/share/man \ |
pascal@1439 | 30 $CONFIGURE_ARGS && |
pascal@1439 | 31 make && |
slaxemulator@11159 | 32 make DESTDIR=$DESTDIR install |
pankso@144 | 33 } |
pankso@144 | 34 |
pankso@144 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@144 | 36 genpkg_rules() |
pankso@144 | 37 { |
pankso@144 | 38 mkdir -p $fs/usr/lib |
pascal@15004 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15004 | 40 cp -a $install/usr/bin $fs/usr |
pankso@144 | 41 } |