Receipt for package "ghex"
# SliTaz package receipt. PACKAGE="ghex" VERSION="3.41.1" CATEGORY="x-window" SHORT_DESC="A simple binary editor." MAINTAINER="samuel_trassare@yahoo.com" LICENSE="GPL2" WEB_SITE="https://wiki.gnome.org/Apps/Ghex" TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" SUGGESTED="ghex-lang" DEPENDS="atk gtk+3 libgnome-keyring libgnomeprintui libgnomeui libxml2" BUILD_DEPENDS="atk-dev gtk+3-dev intltool itstool libbonobo-dev libbonoboui-dev libgnome-dev libgnome-keyring-dev libgnomeprintui-dev libgnomeui-dev libxml2-dev meson ninja" # What is the latest version available today? current_version() { wget -O - https://gitlab.gnome.org/GNOME/ghex/-/tags 2>/dev/null | \ sed '/item-title/!d;/alpha/d;/beta/d;/rc/d;s|.*">||;s|<.*||;q' } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" # GHex2 cannot display help without Yelp. Removing help references. # patch -Np1 -i $stuff/ghex2-remove-help.patch patch --strip=0 --input=$stuff/patches/ghex-ui.xml-3.41.1 patch --strip=0 --input=$stuff/patches/preferences.c-3.41.1 # Do not create help files sed -i -e "/subdir('help')/d" \ -e "/meson_post_install.py/d" \ meson.build meson _build \ --prefix=/usr && ninja -C _build && ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin mkdir -p $fs/usr/lib mkdir -p $fs/usr/share cp -a $install/usr/bin/* $fs/usr/bin # 3.41.1 not created # cp -ar $install/usr/etc $fs/usr cp -ar $install/usr/share/glib-2.0 $fs/usr/share cp -a $install/usr/lib/*so* $fs/usr/lib cp -ar $install/usr/share/applications $fs/usr/share cp -ar $install/usr/share/metainfo $fs/usr/share cp -ar $install/usr/share/icons $fs/usr/share # moved to package ghex-lang # cp -ar $install/usr/share/locale $fs/usr/share }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)