wok-6.x annotate lame/receipt @ rev 17904
perltidy - missed bin dir in packaging
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sat Apr 04 14:54:15 2015 +0000 (2015-04-04) |
parents | f9588901ecdc |
children | 0c85455b2f3b |
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@1439 | 15 BUILD_DEPENDS="gtk+-dev ncurses-dev" |
pankso@16014 | 16 |
pankso@16014 | 17 case "$ARCH" in |
pankso@16014 | 18 arm) BUILD_DEPENDS="ncurses-dev" ;; |
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 } |