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