wok-next annotate lame/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | f48456621a9d |
children |
rev | line source |
---|---|
al@19825 | 1 # SliTaz package receipt v2. |
pankso@144 | 2 |
pankso@144 | 3 PACKAGE="lame" |
al@20512 | 4 VERSION="3.100" |
pankso@206 | 5 CATEGORY="multimedia" |
al@19825 | 6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@16014 | 9 WEB_SITE="http://lame.sourceforge.net/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html" |
pankso@16014 | 11 |
al@19825 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19825 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@16014 | 14 |
al@19825 | 15 BUILD_DEPENDS="ncurses-dev nasm" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pankso@144 | 17 |
al@20512 | 18 compile_rules() { |
al@20575 | 19 case $ARCH in |
al@20631 | 20 i?86) sed -i -e 's/<xmmintrin.h/&.nouse/d' configure;; |
al@19825 | 21 esac |
al@19825 | 22 |
pankso@144 | 23 ./configure \ |
al@19825 | 24 --enable-nasm \ |
al@19825 | 25 --enable-mp3rtp \ |
al@19825 | 26 --disable-static \ |
pascal@1439 | 27 $CONFIGURE_ARGS && |
al@20575 | 28 fix libtool && |
pascal@1439 | 29 make && |
al@19825 | 30 make pkghtmldir=/usr/share/doc/lame-$VERSION install |
pankso@144 | 31 } |
pankso@144 | 32 |
al@20512 | 33 genpkg_rules() { |
al@19825 | 34 case $PACKAGE in |
al@19825 | 35 lame) |
al@19825 | 36 copy @std |
al@19825 | 37 DEPENDS="ncurses" |
al@19825 | 38 ;; |
al@19825 | 39 *-dev) copy @dev;; |
al@19825 | 40 esac |
pankso@144 | 41 } |