wok annotate gmrun/receipt @ rev 25464

httpfs2-fuse: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 30 09:07:42 2022 +0000 (20 months ago)
parents 932cd974e081
children
rev   line source
rocky@3546 1 # SliTaz package receipt.
rocky@3546 2
rocky@3546 3 PACKAGE="gmrun"
rocky@3546 4 VERSION="0.9.2"
rocky@3546 5 CATEGORY="utilities"
rocky@3546 6 SHORT_DESC="Program launcher with autocompletion."
rocky@3546 7 MAINTAINER="rocky@slitaz.org"
pascal@15589 8 LICENSE="GPL2"
rocky@3546 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25420 10 WEB_SITE="https://github.com/WdesktopX/gmrun"
rocky@3546 11 WGET_URL="$SF_MIRROR/gmrun/$TARBALL"
pankso@16259 12 HOST_ARCH="i486 arm"
rocky@3546 13
pascal@15589 14 DEPENDS="gtk+ gcc-lib-base popt"
pascal@15589 15 BUILD_DEPENDS="gtk+-dev popt-dev"
pascal@15589 16
pascal@24403 17 # What is the latest version available today?
pascal@24403 18 current_version()
pascal@24403 19 {
pascal@25420 20 wget -O - https://github.com/WdesktopX/gmrun/tags 2>/dev/null | \
pascal@25420 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24403 22 }
pascal@24403 23
rocky@3546 24 # Rules to configure and make the package.
rocky@3546 25 compile_rules()
rocky@3546 26 {
rocky@3546 27 cd $src
rocky@3573 28 while read file; do
rocky@3573 29 [ -f done.$file ] && continue
rocky@3573 30 echo "Apply $file..."
slaxemulator@9700 31 patch -p1 < $stuff/$file || return 1
rocky@3573 32 touch done.$file
rocky@3573 33 done <<EOT
rocky@3573 34 gmrun-0.9.2-gcc43.patch
rocky@3573 35 EOT
rocky@3546 36 ./configure --prefix=/usr \
rocky@3546 37 $CONFIGURE_ARGS &&
rocky@3546 38 make &&
pascal@15589 39 make install DESTDIR=$DESTDIR
rocky@3546 40 }
rocky@3546 41
rocky@3546 42 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3546 43 genpkg_rules()
rocky@3546 44 {
rocky@3546 45 mkdir -p $fs/usr
pascal@15589 46 cp -a $install/usr/bin $fs/usr
pascal@15589 47 cp -a $install/usr/share $fs/usr
slaxemulator@9700 48 cp $stuff/gmrunrc $fs/usr/share/gmrun
rocky@3546 49 }