wok view gmrun/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (10 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 }