wok annotate gmrun/receipt @ rev 14957
Up: enlightenment-backgrounds (0.17.4)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:20:58 2013 +0200 (2013-08-08) |
parents | 116602ef2d27 |
children | d1c17bd2c2bc |
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..." |
slaxemulator@9700 | 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 |
slaxemulator@9700 | 38 cp $stuff/gmrunrc $fs/usr/share/gmrun |
rocky@3546 | 39 } |