wok-next annotate lame/receipt @ rev 20775
quodlibet: remove non-existent package from bdeps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 20:44:57 2018 +0300 (2018-06-06) |
parents | 0ec6086e21d6 |
children | f48456621a9d |
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@20512 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 } |