wok view gmrun/receipt @ rev 20094

Up: slitaz-boot-scripts(444), tazinst(91), tazinst-gui(91).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 05 15:35:01 2017 +0300 (2017-10-05)
parents d1c17bd2c2bc
children 86790a278e70
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"
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 }