wok-next view lame/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | 8f22b3b666d1 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lame"
4 VERSION="3.99.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://lame.sourceforge.net/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS_arm="ncurses-dev"
16 BUILD_DEPENDS="ncurses-dev nasm"
17 SPLIT="lame-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/lame.html
23 case $(uname -m) in
24 i?86) sed -i -e '/xmmintrin\.h/d' configure ;;
25 esac
27 ./configure \
28 --enable-nasm \
29 --enable-mp3rtp \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make pkghtmldir=/usr/share/doc/lame-$VERSION install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 lame)
41 copy @std
42 DEPENDS="ncurses"
43 ;;
44 *-dev) copy @dev;;
45 esac
46 }