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

connman: use pidof string if no .pid file
author Richard Dunbar <mojo@slitaz.org>
date Mon Dec 23 22:28:27 2013 +0000 (2013-12-23)
parents d1768332cee0
children 75362eca62d8
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="http://sourceforge.net/projects/gmrun"
11 WGET_URL="$SF_MIRROR/gmrun/$TARBALL"
13 DEPENDS="gtk+ gcc-lib-base popt"
14 BUILD_DEPENDS="gtk+-dev popt-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 while read file; do
21 [ -f done.$file ] && continue
22 echo "Apply $file..."
23 patch -p1 < $stuff/$file || return 1
24 touch done.$file
25 done <<EOT
26 gmrun-0.9.2-gcc43.patch
27 EOT
28 ./configure --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/share $fs/usr
40 cp $stuff/gmrunrc $fs/usr/share/gmrun
41 }