wok-next annotate gmrun/receipt @ rev 3546

Add gmrun
author Liu Peng <rocky@slitaz.org>
date Tue Jun 23 12:23:23 2009 +0800 (2009-06-23)
parents
children 1794ce625358
rev   line source
rocky@3546 1 # SliTaz package receipt.
rocky@3546 2
rocky@3546 3 PACKAGE="gmrun"
rocky@3546 4 VERSION="0.9.2"
rocky@3546 5 CATEGORY="utilities"
rocky@3546 6 SHORT_DESC="Program launcher with autocompletion."
rocky@3546 7 MAINTAINER="rocky@slitaz.org"
rocky@3546 8 DEPENDS="gtk+"
rocky@3546 9 BUILD_DEPENDS="gtk+-dev popt-dev"
rocky@3546 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
rocky@3546 11 WEB_SITE="http://sourceforge.net/projects/gmrun"
rocky@3546 12 WGET_URL="$SF_MIRROR/gmrun/$TARBALL"
rocky@3546 13
rocky@3546 14 # Rules to configure and make the package.
rocky@3546 15 compile_rules()
rocky@3546 16 {
rocky@3546 17 cd $src
rocky@3546 18 patch -p1 -i ../stuff/gmrun-0.9.2-gcc43.patch &&
rocky@3546 19 ./configure --prefix=/usr \
rocky@3546 20 $CONFIGURE_ARGS &&
rocky@3546 21 make &&
rocky@3546 22 make install DESTDIR=$PWD/_pkg
rocky@3546 23 }
rocky@3546 24
rocky@3546 25 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3546 26 genpkg_rules()
rocky@3546 27 {
rocky@3546 28 mkdir -p $fs/usr
rocky@3546 29 cp -a $_pkg/usr/bin $fs/usr
rocky@3546 30 cp -a $_pkg/usr/share $fs/usr
rocky@3546 31 cp $PWD/stuff/gmrunrc $fs/usr/share/gmrun
rocky@3546 32 }