wok-6.x annotate gmrun/receipt @ rev 6568

Up: mtools to 4.0.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 08 01:23:26 2010 +0000 (2010-10-08)
parents 9f19aee613be
children d1768332cee0
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"
pascal@5029 8 DEPENDS="gtk+ gcc-lib-base popt"
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@3573 18 while read file; do
rocky@3573 19 [ -f done.$file ] && continue
rocky@3573 20 echo "Apply $file..."
rocky@3573 21 patch -p1 < ../stuff/$file || return 1
rocky@3573 22 touch done.$file
rocky@3573 23 done <<EOT
rocky@3573 24 gmrun-0.9.2-gcc43.patch
rocky@3573 25 EOT
rocky@3546 26 ./configure --prefix=/usr \
rocky@3546 27 $CONFIGURE_ARGS &&
rocky@3546 28 make &&
rocky@3546 29 make install DESTDIR=$PWD/_pkg
rocky@3546 30 }
rocky@3546 31
rocky@3546 32 # Rules to gen a SliTaz package suitable for Tazpkg.
rocky@3546 33 genpkg_rules()
rocky@3546 34 {
rocky@3546 35 mkdir -p $fs/usr
rocky@3546 36 cp -a $_pkg/usr/bin $fs/usr
rocky@3546 37 cp -a $_pkg/usr/share $fs/usr
rocky@3546 38 cp $PWD/stuff/gmrunrc $fs/usr/share/gmrun
rocky@3546 39 }