wok-current annotate gogglesmm/receipt @ rev 3802

Update: Category for -dev packages
author Matthew Sheets <rcx@zoominternet.net>
date Tue Aug 04 16:18:35 2009 +0000 (2009-08-04)
parents 583bdd691510
children 9f19aee613be
rev   line source
pascal@1136 1 # SliTaz package receipt.
pascal@1136 2
pascal@1136 3 PACKAGE="gogglesmm"
pascal@1136 4 SOURCE="musicmanager"
pascal@1136 5 VERSION="0.9.13"
pascal@1136 6 CATEGORY="multimedia"
pascal@1136 7 SHORT_DESC="Goggles Music Manager is nice a music collection manager and player."
pascal@1136 8 MAINTAINER="chadi.elahmad@gmail.com"
pascal@1136 9
pascal@1136 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1136 11 WEB_SITE="http://code.google.com/p/gogglesmm/"
pascal@1136 12 WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL"
pascal@1136 13
pankso@3429 14 DEPENDS="libfox xine-lib sqlite taglib libpng jpeg expat tiff \
pascal@2845 15 libgl libglu"
pascal@1136 16
pascal@1136 17 # When compiling, it needs the main packages too.
pascal@2218 18 BUILD_DEPENDS="libfox libfox-utils xine-lib sqlite taglib
pascal@2218 19 libfox-dev xine-lib-dev sqlite-dev taglib-dev "
pascal@1136 20
pascal@1136 21 # Rules to configure and make the package.
pascal@1136 22 compile_rules()
pascal@1136 23 {
pascal@1136 24 cd $src
pascal@1136 25 ./configure \
pascal@1136 26 --prefix=/usr \
pascal@1136 27 --mandir=/usr/share/man \
pascal@1136 28 --infodir=/usr/share/info \
pascal@1516 29 $CONFIGURE_ARGS &&
pascal@1516 30 make &&
pascal@1136 31 make DESTDIR=$PWD/_pkg install
pascal@1136 32 }
pascal@1136 33
pascal@1136 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1136 35 # It does not use DESTDIR, and uses xgd...
pascal@1136 36 genpkg_rules()
pascal@1136 37 {
pascal@1136 38 mkdir -p $fs/usr/bin $fs/usr/share/applications $fs/usr/share/pixmaps
pascal@1136 39 cp -a $src/src/$SOURCE $fs/usr/bin/gmm
pascal@1136 40
pascal@1136 41 cp -a $src/extra/*.desktop $fs/usr/share/applications
pascal@1136 42 cp -a $src/extra/*.png $fs/usr/share/pixmaps
pascal@1136 43 }