wok-6.x annotate gmrun/receipt @ rev 15718
Up: openssh (6.4p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 26 11:43:21 2013 +0000 (2013-12-26) |
parents | d1768332cee0 |
children | 75362eca62d8 |
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@15589 | 8 LICENSE="GPL2" |
rocky@3546 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rocky@3546 | 10 WEB_SITE="http://sourceforge.net/projects/gmrun" |
rocky@3546 | 11 WGET_URL="$SF_MIRROR/gmrun/$TARBALL" |
rocky@3546 | 12 |
pascal@15589 | 13 DEPENDS="gtk+ gcc-lib-base popt" |
pascal@15589 | 14 BUILD_DEPENDS="gtk+-dev popt-dev" |
pascal@15589 | 15 |
rocky@3546 | 16 # Rules to configure and make the package. |
rocky@3546 | 17 compile_rules() |
rocky@3546 | 18 { |
rocky@3546 | 19 cd $src |
rocky@3573 | 20 while read file; do |
rocky@3573 | 21 [ -f done.$file ] && continue |
rocky@3573 | 22 echo "Apply $file..." |
slaxemulator@9700 | 23 patch -p1 < $stuff/$file || return 1 |
rocky@3573 | 24 touch done.$file |
rocky@3573 | 25 done <<EOT |
rocky@3573 | 26 gmrun-0.9.2-gcc43.patch |
rocky@3573 | 27 EOT |
rocky@3546 | 28 ./configure --prefix=/usr \ |
rocky@3546 | 29 $CONFIGURE_ARGS && |
rocky@3546 | 30 make && |
pascal@15589 | 31 make install DESTDIR=$DESTDIR |
rocky@3546 | 32 } |
rocky@3546 | 33 |
rocky@3546 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3546 | 35 genpkg_rules() |
rocky@3546 | 36 { |
rocky@3546 | 37 mkdir -p $fs/usr |
pascal@15589 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15589 | 39 cp -a $install/usr/share $fs/usr |
slaxemulator@9700 | 40 cp $stuff/gmrunrc $fs/usr/share/gmrun |
rocky@3546 | 41 } |