wok rev 22789
updated galculator (2.1.3 -> 2.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 27 07:44:14 2020 +0100 (2020-01-27) |
parents | 3b69560c09e5 |
children | 7e16db4fdc4a |
files | galculator/receipt |
line diff
1.1 --- a/galculator/receipt Mon Jan 27 06:55:09 2020 +0100 1.2 +++ b/galculator/receipt Mon Jan 27 07:44:14 2020 +0100 1.3 @@ -1,19 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="galculator" 1.7 -VERSION="2.1.3" 1.8 +VERSION="2.1.4" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Graphical scientific calculator." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -WEB_SITE="http://galculator.sourceforge.net/" 1.14 +WEB_SITE="http://galculator.mnim.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 -HOST_ARCH="i486 arm" 1.19 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL" 1.20 + 1.21 +DEPENDS="gtk+" 1.22 +BUILD_DEPENDS="autoconf automake flex gtk+-dev libtool sdft" 1.23 + 1.24 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no" 1.25 1.26 -DEPENDS="gtk+" 1.27 -BUILD_DEPENDS="gtk+-dev flex sdft" 1.28 +HOST_ARCH="i486 arm" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 @@ -21,11 +24,13 @@ 1.33 # Binutils 2.22 break many packages build without LDFLAGS set correctly. 1.34 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" 1.35 1.36 - ./configure \ 1.37 - --disable-gtk3 \ 1.38 - --disable-quadmath \ 1.39 + mkdir m4 1.40 + ./autogen.sh \ 1.41 + --enable-gtk3=no \ 1.42 + --disable-quadmath \ 1.43 $CONFIGURE_ARGS && 1.44 - make && make install 1.45 + make && 1.46 + make install && 1.47 sdft $install/usr/share/applications/galculator.desktop -i -tf \ 1.48 -a "Name[fr]=Calculatrice scientifique" \ 1.49 -a "Name[pt]=Calculadora CientÃfica" \ 1.50 @@ -42,13 +47,14 @@ 1.51 { 1.52 mkdir -p $fs/usr/share/icons/hicolor/48x48 1.53 1.54 - cp -a $install/usr/bin $fs/usr 1.55 + cp -a $install/usr/bin $fs/usr 1.56 1.57 - cp -a $install/usr/share/galculator $fs/usr/share 1.58 + cp -a $install/usr/share/galculator $fs/usr/share 1.59 find $fs/usr/share/galculator -name '*gtk3*' -delete 1.60 sed -i 's|^[ ]*||g' $fs/usr/share/galculator/ui/* 1.61 1.62 - cp -a $install/usr/share/icons/hicolor/48x48/apps $fs/usr/share/icons/hicolor/48x48 1.63 + cp -a $install/usr/share/icons/hicolor/48x48/apps \ 1.64 + $fs/usr/share/icons/hicolor/48x48 1.65 1.66 - cp -a $install/usr/share/applications $fs/usr/share 1.67 + cp -a $install/usr/share/applications $fs/usr/share 1.68 }