wok-current view gmrun/receipt @ rev 6928
Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 22:36:22 2010 +0000 (2010-10-22) |
parents | 9f19aee613be |
children | d1768332cee0 |
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 DEPENDS="gtk+ gcc-lib-base popt"
9 BUILD_DEPENDS="gtk+-dev popt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/gmrun"
12 WGET_URL="$SF_MIRROR/gmrun/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 while read file; do
19 [ -f done.$file ] && continue
20 echo "Apply $file..."
21 patch -p1 < ../stuff/$file || return 1
22 touch done.$file
23 done <<EOT
24 gmrun-0.9.2-gcc43.patch
25 EOT
26 ./configure --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make install DESTDIR=$PWD/_pkg
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/share $fs/usr
38 cp $PWD/stuff/gmrunrc $fs/usr/share/gmrun
39 }