wok annotate consonance/receipt @ rev 3659
Hack coreutils compile
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 07 20:54:42 2009 +0200 (2009-07-07) |
parents | d85d4ee92cc9 |
children | f7e96b8e3444 |
rev | line source |
---|---|
jozee@2662 | 1 # SliTaz package receipt. |
jozee@2662 | 2 |
jozee@2662 | 3 PACKAGE="consonance" |
jozee@2662 | 4 VERSION="0.5" |
jozee@2662 | 5 CATEGORY="multimedia" |
jozee@2662 | 6 SHORT_DESC="A lightwight music manager" |
jozee@2662 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@2845 | 8 DEPENDS="libao taglib libmad sqlite dbus-glib libnotify flac libsndfile libvorbis curl libmodplug libcdio libcddb xcb-util" |
jozee@2705 | 9 BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite-dev dbus-glib-dev libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio" |
jozee@2662 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2662 | 11 WEB_SITE="http://sites.google.com/site/consonancemanager/" |
jozee@2662 | 12 WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL" |
jozee@2662 | 13 |
jozee@2662 | 14 # Rules to configure and make the package. |
jozee@2662 | 15 compile_rules() |
jozee@2662 | 16 { |
jozee@2662 | 17 cd $src |
pascal@2845 | 18 ./configure --prefix=/usr && |
pascal@2845 | 19 make && |
jozee@2662 | 20 make DESTDIR=$PWD/_pkg install |
jozee@2662 | 21 |
jozee@2662 | 22 } |
jozee@2662 | 23 |
jozee@2662 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2662 | 25 genpkg_rules() |
jozee@2662 | 26 { |
jozee@2662 | 27 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps |
jozee@2662 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@2662 | 29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
jozee@2662 | 30 cp -a $_pkg/usr/share/$PACKAGE/data/consonance.png $fs/usr/share/pixmaps |
jozee@2662 | 31 |
jozee@2662 | 32 } |