# HG changeset patch # User Hans-G?nter Theisgen # Date 1580107454 -3600 # Node ID 8b1698fee11d557436ea0cf4471d60cdfccf64d5 # Parent 3b69560c09e567ec6cb5d08cb0bb81acc9610775 updated galculator (2.1.3 -> 2.1.4) diff -r 3b69560c09e5 -r 8b1698fee11d galculator/receipt --- a/galculator/receipt Mon Jan 27 06:55:09 2020 +0100 +++ b/galculator/receipt Mon Jan 27 07:44:14 2020 +0100 @@ -1,19 +1,22 @@ # SliTaz package receipt. PACKAGE="galculator" -VERSION="2.1.3" +VERSION="2.1.4" CATEGORY="system-tools" SHORT_DESC="Graphical scientific calculator." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" -WEB_SITE="http://galculator.sourceforge.net/" +WEB_SITE="http://galculator.mnim.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -HOST_ARCH="i486 arm" +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL" + +DEPENDS="gtk+" +BUILD_DEPENDS="autoconf automake flex gtk+-dev libtool sdft" + GENERIC_PIXMAPS="no"; GENERIC_MENUS="no" -DEPENDS="gtk+" -BUILD_DEPENDS="gtk+-dev flex sdft" +HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() @@ -21,11 +24,13 @@ # Binutils 2.22 break many packages build without LDFLAGS set correctly. export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" - ./configure \ - --disable-gtk3 \ - --disable-quadmath \ + mkdir m4 + ./autogen.sh \ + --enable-gtk3=no \ + --disable-quadmath \ $CONFIGURE_ARGS && - make && make install + make && + make install && sdft $install/usr/share/applications/galculator.desktop -i -tf \ -a "Name[fr]=Calculatrice scientifique" \ -a "Name[pt]=Calculadora Científica" \ @@ -42,13 +47,14 @@ { mkdir -p $fs/usr/share/icons/hicolor/48x48 - cp -a $install/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share/galculator $fs/usr/share + cp -a $install/usr/share/galculator $fs/usr/share find $fs/usr/share/galculator -name '*gtk3*' -delete sed -i 's|^[ ]*||g' $fs/usr/share/galculator/ui/* - cp -a $install/usr/share/icons/hicolor/48x48/apps $fs/usr/share/icons/hicolor/48x48 + cp -a $install/usr/share/icons/hicolor/48x48/apps \ + $fs/usr/share/icons/hicolor/48x48 - cp -a $install/usr/share/applications $fs/usr/share + cp -a $install/usr/share/applications $fs/usr/share }