[tyndur-devel] [PATCH] lbuilds: Player
max at tyndur.org ·
From: Max Reitz <max at tyndur.org> + Das einfache Musikabspielprogramm mit RIFF-Wave- und Ogg-Vorbis- Support (bisher) für lbuilds Signed-off-by: Max Reitz <max at tyndur.org> --- lbuilds/player/0.0.1/player-0.0.1.lbuild | 31 ++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 lbuilds/player/0.0.1/player-0.0.1.lbuild diff --git a/lbuilds/player/0.0.1/player-0.0.1.lbuild b/lbuilds/player/0.0.1/player-0.0.1.lbuild new file mode 100644 index 0000000..753455a --- /dev/null +++ b/lbuilds/player/0.0.1/player-0.0.1.lbuild @@ -0,0 +1,31 @@ +include toolchain +include lutils + +DESCRIPTION="Ein Musikabspielprogramm" +HOMEPAGE="http://lowlevel.brainsware.org/wiki/index.php/LOST/Pakete/player" +SRC_URI="http://www.xanclic.bplaced.net/${P}.tar.bz2" + +LICENSE="MIT" + +BUILD_DEPEND="=libogg-1.1.4 =libvorbis-1.2.3" +RUN_DEPEND="" + +MY_S="${S}/${P}" + +src_unpack() { +lunpack ${P}.tar.bz2 +} + +src_compile() { + cd ${MY_S} + + lmake CC=i386-pc-tyndur-gcc || die "make failed" + cd .. +} + +src_install() { + cd ${MY_S} + + lmake install INSTALL_TO="${D}${R}" || die "make install failed" + rm -rf ${D}${R}/share +} -- 1.6.3.3