wok-next view lame/receipt @ rev 20854

Add xa, libicns; up vice (3.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 26 14:16:09 2018 +0300 (2018-06-26)
parents 0ec6086e21d6
children f48456621a9d
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="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://lame.sourceforge.net/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/lame.html"
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 compile_rules() {
20 case $ARCH in
21 i?86) sed -i -e 's/<xmmintrin.h/&.nouse/d' configure;;
22 esac
24 ./configure \
25 --enable-nasm \
26 --enable-mp3rtp \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make pkghtmldir=/usr/share/doc/lame-$VERSION install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 lame)
37 copy @std
38 DEPENDS="ncurses"
39 ;;
40 *-dev) copy @dev;;
41 esac
42 }