wok-next annotate gejengel/receipt @ rev 16442
slitaz-tools: work around due to buggy 5.8 Makefile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 16:30:12 2014 +0200 (2014-04-18) |
parents | 21ad69bbbfa5 |
children | 002d4bf6c905 |
rev | line source |
---|---|
pascal@11222 | 1 # SliTaz package receipt. |
pascal@11222 | 2 |
pascal@11222 | 3 PACKAGE="gejengel" |
pascal@11222 | 4 VERSION="0.1.4" |
pascal@11222 | 5 CATEGORY="network" |
pascal@11222 | 6 SHORT_DESC="A simple, light and clean audio player." |
pascal@13025 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@11222 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11222 | 10 WEB_SITE="http://code.google.com/p/gejengel/" |
pascal@11222 | 11 WGET_URL="http://gejengel.googlecode.com/files/$TARBALL" |
pascal@11222 | 12 |
pascal@11222 | 13 DEPENDS="glibmm cairomm gtkmm libsigc++ taglib imagemagick libxdg-basedir \ |
pascal@13131 | 14 alsa-lib flac ffmpeg-svn sqlite" |
pascal@11222 | 15 BUILD_DEPENDS="glibmm-dev cairomm-dev gtkmm-dev libsigc++-dev taglib-dev \ |
pascal@11222 | 16 imagemagick-dev imagemagick libxdg-basedir-dev alsa-lib-dev flac-dev \ |
pascal@13131 | 17 ffmpeg-svn-dev lcms-dev fftw-dev openexr-dev ilmbase-dev graphviz-dev \ |
pascal@13138 | 18 util-linux-uuid-dev libogg-dev intltool libcroco sqlite-dev gtk+-dev libtool" |
pascal@11222 | 19 |
pascal@11222 | 20 # Rules to configure and make the package. |
pascal@11222 | 21 compile_rules() |
pascal@11222 | 22 { |
pascal@12956 | 23 sed -i 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \ |
pascal@12957 | 24 src/AudioDecoder/ffmpegdecoder.cpp |
pascal@13138 | 25 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|' |
pascal@11222 | 26 ./configure --enable-alsa --enable-ffmpeg --enable-flac \ |
pascal@11222 | 27 $CONFIGURE_ARGS && make && make install |
pascal@11222 | 28 } |
pascal@11222 | 29 |
pascal@11222 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11222 | 31 genpkg_rules() |
pascal@11222 | 32 { |
pascal@11222 | 33 mkdir -p $fs/usr $fs/etc |
pascal@15000 | 34 cp -a $install/usr/bin $fs/usr |
pascal@11222 | 35 } |