wok-6.x view gogglesmm/receipt @ rev 24758
xfe: cheat configure
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 18 07:44:06 2022 +0100 (2022-03-18) |
parents | e3f377fbc5f0 |
children | 9b180a3071fb |
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="https://gogglesmm.github.io/"
11 WGET_URL="http://gogglesmm.googlecode.com/files/$TARBALL"
13 DEPENDS="fox xine-lib dbus curl sqlite taglib libpng jpeg expat tiff \
14 mesa libglu-mesa"
15 BUILD_DEPENDS="fox-dev sqlite taglib dbus-dev xine-lib-dev \
16 sqlite-dev taglib-dev curl-dev expat-dev xorg-xproto \
17 xorg-libX11-dev libgcrypt-dev mesa-dev pkg-config"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/gogglesmm/gogglesmm/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 # Fixed installing .mo files since busybox install commmand
31 # doesn't have -T option
32 sed -i 's| -T||g' $src/Makefile
33 ./configure \
34 --prefix=/usr \
35 --mandir=/usr/share/man \
36 --infodir=/usr/share/info \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr $fs/usr/share/pixmaps
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/applications $fs/usr/share
48 cp -a $src/extra/*.png $fs/usr/share/pixmaps
49 }