wok annotate gogglesmm/receipt @ rev 18707

fix some post_install status
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 16 15:49:50 2015 +0100 (2015-12-16)
parents 6b09507225ec
children e3f377fbc5f0
rev   line source
pascal@1136 1 # SliTaz package receipt.
pascal@1136 2
pascal@1136 3 PACKAGE="gogglesmm"
pascal@12782 4 VERSION="0.12.6"
pascal@1136 5 CATEGORY="multimedia"
pascal@1136 6 SHORT_DESC="Goggles Music Manager is nice a music collection manager and player."
pascal@1136 7 MAINTAINER="chadi.elahmad@gmail.com"
pascal@14999 8 LICENSE="GPL3"
pascal@12782 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@1136 10 WEB_SITE="http://code.google.com/p/gogglesmm/"
pascal@1136 11 WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL"
pascal@13796 12
slaxemulator@7062 13 DEPENDS="fox xine-lib dbus curl sqlite taglib libpng jpeg expat tiff \
slaxemulator@7062 14 mesa libglu-mesa"
slaxemulator@7062 15 BUILD_DEPENDS="fox-dev sqlite taglib dbus-dev xine-lib-dev \
slaxemulator@7062 16 sqlite-dev taglib-dev curl-dev expat-dev xorg-xproto \
slaxemulator@7062 17 xorg-libX11-dev libgcrypt-dev mesa-dev pkg-config"
pascal@1136 18
pascal@1136 19 # Rules to configure and make the package.
pascal@1136 20 compile_rules()
pascal@1136 21 {
pascal@1136 22 cd $src
slaxemulator@7062 23 # Fixed installing .mo files since busybox install commmand
slaxemulator@7062 24 # doesn't have -T option
slaxemulator@7062 25 sed -i 's| -T||g' $src/Makefile
pascal@1136 26 ./configure \
pascal@1136 27 --prefix=/usr \
pascal@1136 28 --mandir=/usr/share/man \
pascal@1136 29 --infodir=/usr/share/info \
pascal@1516 30 $CONFIGURE_ARGS &&
pascal@1516 31 make &&
pascal@13796 32 make DESTDIR=$DESTDIR install
pascal@1136 33 }
pascal@1136 34
pascal@1136 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1136 36 genpkg_rules()
pascal@1136 37 {
slaxemulator@7069 38 mkdir -p $fs/usr $fs/usr/share/pixmaps
pascal@13796 39 cp -a $install/usr/bin $fs/usr
pascal@13796 40 cp -a $install/usr/share/applications $fs/usr/share
pascal@1136 41 cp -a $src/extra/*.png $fs/usr/share/pixmaps
pascal@1136 42 }