diff --git a/packages/audio/lame/build b/packages/audio/lame/build deleted file mode 100755 index 330a8491eb..0000000000 --- a/packages/audio/lame/build +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -# dont build parallel - MAKEFLAGS=-j1 - -cd $PKG_BUILD -#ac_cv_c_stack_direction=-1 \ -#alex_cv_ieee854_float80=no \ -GTK_CONFIG='no' \ -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --disable-static \ - --enable-shared \ - --enable-nasm \ - --disable-rpath \ - --disable-cpml \ - --disable-gtktest \ - --disable-efence \ - --disable-analyzer-hooks \ - --enable-decoder \ - --disable-frontend \ - --disable-mp3x \ - --disable-mp3rtp \ - --disable-dynamic-frontends \ - --enable-expopt=no \ - --enable-debug=no \ - --with-gnu-ld \ - --with-fileio=lame - -make -$MAKEINSTALL diff --git a/packages/audio/lame/install b/packages/audio/lame/install deleted file mode 100755 index dcb45b3592..0000000000 --- a/packages/audio/lame/install +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -mkdir -p $INSTALL/usr/lib - cp -P $PKG_BUILD/libmp3lame/.libs/libmp3lame.so* $INSTALL/usr/lib diff --git a/packages/audio/lame/meta b/packages/audio/lame/package.mk similarity index 65% rename from packages/audio/lame/meta rename to packages/audio/lame/package.mk index 5240445410..c800b600b7 100644 --- a/packages/audio/lame/meta +++ b/packages/audio/lame/package.mk @@ -26,11 +26,34 @@ PKG_LICENSE="LGPL" PKG_SITE="http://lame.sourceforge.net/" PKG_URL="$SOURCEFORGE_SRC/lame/lame/3.99/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain" +PKG_BUILD_DEPENDS_TARGET="toolchain" PKG_PRIORITY="optional" PKG_SECTION="audio" PKG_SHORTDESC="lame: LAME Ain't an Mp3 Encoder" PKG_LONGDESC="LAME originally stood for LAME Ain't an Mp3 Encoder. The goal of the LAME project is to use the open source model to improve the psycho acoustics, noise shaping and speed of MP3. Another goal of the LAME project is to use these improvements for the basis of a patent free audio compression codec for the GNU project." -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="yes" + +# package specific configure options +PKG_CONFIGURE_OPTS_TARGET="--enable-nasm \ + --disable-rpath \ + --disable-cpml \ + --disable-gtktest \ + --disable-efence \ + --disable-analyzer-hooks \ + --enable-decoder \ + --disable-frontend \ + --disable-mp3x \ + --disable-mp3rtp \ + --disable-dynamic-frontends \ + --enable-expopt=no \ + --enable-debug=no \ + --with-gnu-ld \ + --with-fileio=lame \ + GTK_CONFIG=no" + +post_make_target() { + # dont build parallel + MAKEFLAGS=-j1 +}