wok-next annotate lame/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 3ac030def4be |
children | d5aab818505e |
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" |
pankso@144 | 7 MAINTAINER="pankso@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 |
pascal@19961 | 15 BUILD_DEPENDS_arm="ncurses-dev" |
al@19825 | 16 BUILD_DEPENDS="ncurses-dev nasm" |
al@19825 | 17 SPLIT="lame-dev" |
pankso@144 | 18 |
al@20512 | 19 compile_rules() { |
al@20575 | 20 case $ARCH in |
al@20631 | 21 i?86) sed -i -e 's/<xmmintrin.h/&.nouse/d' configure;; |
al@19825 | 22 esac |
al@19825 | 23 |
pankso@144 | 24 ./configure \ |
al@19825 | 25 --enable-nasm \ |
al@19825 | 26 --enable-mp3rtp \ |
al@19825 | 27 --disable-static \ |
pascal@1439 | 28 $CONFIGURE_ARGS && |
al@20575 | 29 fix libtool && |
pascal@1439 | 30 make && |
al@19825 | 31 make pkghtmldir=/usr/share/doc/lame-$VERSION install |
pankso@144 | 32 } |
pankso@144 | 33 |
al@20512 | 34 genpkg_rules() { |
al@19825 | 35 case $PACKAGE in |
al@19825 | 36 lame) |
al@19825 | 37 copy @std |
al@19825 | 38 DEPENDS="ncurses" |
al@19825 | 39 ;; |
al@19825 | 40 *-dev) copy @dev;; |
al@19825 | 41 esac |
pankso@144 | 42 } |