wok-next view lame/receipt @ rev 21307
updated hydra (7.3 -> 9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 10:07:48 2019 +0100 (2019-12-10) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lame"
4 VERSION="3.100"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://lame.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="ncurses-dev nasm"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 case $ARCH in
20 i?86) sed -i -e 's/<xmmintrin.h/&.nouse/d' configure;;
21 esac
23 ./configure \
24 --enable-nasm \
25 --enable-mp3rtp \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make pkghtmldir=/usr/share/doc/lame-$VERSION install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 lame)
36 copy @std
37 DEPENDS="ncurses"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }