wok view gmrun/receipt @ rev 25680

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