wok-next annotate 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 |
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 |
pascal@20098 | 13 DEPENDS="fox xine-lib dbus curl sqlite3 taglib libpng jpeg expat tiff \ |
slaxemulator@7062 | 14 mesa libglu-mesa" |
pascal@20098 | 15 BUILD_DEPENDS="fox-dev sqlite3 taglib dbus-dev xine-lib-dev \ |
pascal@20098 | 16 sqlite3-dev taglib-dev curl-dev expat-dev xorg-xproto \ |
pascal@20117 | 17 xorg-libX11-dev libgcrypt-dev mesa-dev libglu-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@20117 | 22 sed -i 's/0x80/-128/g' src/gmutils.cpp |
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 } |