wok-next diff galculator/receipt @ rev 20851
Add uglifyjs; fix build / up: python-cython, xpra, xscavenger, xsshfs, zbar
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 24 16:46:03 2018 +0300 (2018-06-24) |
parents | c4e53a39395a |
children | 551851c90944 |
line diff
1.1 --- a/galculator/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/galculator/receipt Sun Jun 24 16:46:03 2018 +0300 1.3 @@ -1,22 +1,21 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="galculator" 1.8 VERSION="2.1.3" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Graphical scientific calculator." 1.11 +SHORT_DESC="Graphical scientific calculator" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="http://galculator.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 -GENERIC_PIXMAPS="no"; GENERIC_MENUS="no" 1.19 1.20 -DEPENDS="gtk+" 1.21 BUILD_DEPENDS="gtk+-dev flex sdft intltool" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +COOKOPTS="!pixmaps !menus" 1.27 + 1.28 +compile_rules() { 1.29 # Binutils 2.22 break many packages build without LDFLAGS set correctly. 1.30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.31 1.32 @@ -24,7 +23,10 @@ 1.33 --disable-gtk3 \ 1.34 --disable-quadmath \ 1.35 $CONFIGURE_ARGS && 1.36 - make && make install 1.37 + fix libtool && 1.38 + make && 1.39 + make install || return 1 1.40 + 1.41 sdft $install/usr/share/applications/galculator.desktop -i -tf \ 1.42 -a "Name[fr]=Calculatrice scientifique" \ 1.43 -a "Name[pt]=Calculadora CientÃfica" \ 1.44 @@ -36,18 +38,10 @@ 1.45 -s "Categories=Utility;Calculator;" 1.46 } 1.47 1.48 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.49 -genpkg_rules() 1.50 -{ 1.51 - mkdir -p $fs/usr/share/icons/hicolor/48x48 1.52 - 1.53 - cp -a $install/usr/bin $fs/usr 1.54 - 1.55 - cp -a $install/usr/share/galculator $fs/usr/share 1.56 - find $fs/usr/share/galculator -name '*gtk3*' -delete 1.57 +genpkg_rules() { 1.58 + copy @std 1.59 + rm -r $fs/usr/share/pixmaps 1.60 + find $fs -name '*gtk3*' -delete 1.61 sed -i 's|^[ ]*||g' $fs/usr/share/galculator/ui/* 1.62 - 1.63 - cp -a $install/usr/share/icons/hicolor/48x48/apps $fs/usr/share/icons/hicolor/48x48 1.64 - 1.65 - cp -a $install/usr/share/applications $fs/usr/share 1.66 + DEPENDS="gtk+" 1.67 }