wok view gmrun/receipt @ rev 15772

linux-source: install initrd.cpio
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 07 23:03:08 2014 +0000 (2014-01-07)
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 }