wok-6.x view gmrun/receipt @ rev 21886

postgis: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 02 17:37:17 2019 +0200 (2019-10-02)
parents 75362eca62d8
children 932cd974e081
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://sourceforge.net/projects/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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 while read file; do
22 [ -f done.$file ] && continue
23 echo "Apply $file..."
24 patch -p1 < $stuff/$file || return 1
25 touch done.$file
26 done <<EOT
27 gmrun-0.9.2-gcc43.patch
28 EOT
29 ./configure --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share $fs/usr
41 cp $stuff/gmrunrc $fs/usr/share/gmrun
42 }