wok-current annotate gogglesmm/receipt @ rev 25653
lzo needed from fsarchiver
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 13 07:22:29 2024 +0100 (6 months ago) |
parents | 9b180a3071fb |
children |
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@20673 | 10 WEB_SITE="https://gogglesmm.github.io/" |
pascal@25113 | 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$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@24445 | 19 # What is the latest version available today? |
pascal@24445 | 20 current_version() |
pascal@24445 | 21 { |
pascal@24445 | 22 wget -O - https://github.com/gogglesmm/gogglesmm/releases 2>/dev/null | \ |
pascal@24445 | 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24445 | 24 } |
pascal@24445 | 25 |
pascal@1136 | 26 # Rules to configure and make the package. |
pascal@1136 | 27 compile_rules() |
pascal@1136 | 28 { |
pascal@1136 | 29 cd $src |
slaxemulator@7062 | 30 # Fixed installing .mo files since busybox install commmand |
slaxemulator@7062 | 31 # doesn't have -T option |
slaxemulator@7062 | 32 sed -i 's| -T||g' $src/Makefile |
pascal@1136 | 33 ./configure \ |
pascal@1136 | 34 --prefix=/usr \ |
pascal@1136 | 35 --mandir=/usr/share/man \ |
pascal@1136 | 36 --infodir=/usr/share/info \ |
pascal@1516 | 37 $CONFIGURE_ARGS && |
pascal@1516 | 38 make && |
pascal@13796 | 39 make DESTDIR=$DESTDIR install |
pascal@1136 | 40 } |
pascal@1136 | 41 |
pascal@1136 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 43 genpkg_rules() |
pascal@1136 | 44 { |
slaxemulator@7069 | 45 mkdir -p $fs/usr $fs/usr/share/pixmaps |
pascal@13796 | 46 cp -a $install/usr/bin $fs/usr |
pascal@13796 | 47 cp -a $install/usr/share/applications $fs/usr/share |
pascal@1136 | 48 cp -a $src/extra/*.png $fs/usr/share/pixmaps |
pascal@1136 | 49 } |