wok-6.x annotate gmrun/receipt @ rev 22627
updated dansguardian (2.10.1.1 -> 2.12.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 12 17:58:12 2020 +0100 (2020-01-12) |
parents | 75362eca62d8 |
children | 932cd974e081 |
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" |
pascal@20421 | 10 WEB_SITE="https://sourceforge.net/projects/gmrun" |
rocky@3546 | 11 WGET_URL="$SF_MIRROR/gmrun/$TARBALL" |
pankso@16259 | 12 HOST_ARCH="i486 arm" |
rocky@3546 | 13 |
pascal@15589 | 14 DEPENDS="gtk+ gcc-lib-base popt" |
pascal@15589 | 15 BUILD_DEPENDS="gtk+-dev popt-dev" |
pascal@15589 | 16 |
rocky@3546 | 17 # Rules to configure and make the package. |
rocky@3546 | 18 compile_rules() |
rocky@3546 | 19 { |
rocky@3546 | 20 cd $src |
rocky@3573 | 21 while read file; do |
rocky@3573 | 22 [ -f done.$file ] && continue |
rocky@3573 | 23 echo "Apply $file..." |
slaxemulator@9700 | 24 patch -p1 < $stuff/$file || return 1 |
rocky@3573 | 25 touch done.$file |
rocky@3573 | 26 done <<EOT |
rocky@3573 | 27 gmrun-0.9.2-gcc43.patch |
rocky@3573 | 28 EOT |
rocky@3546 | 29 ./configure --prefix=/usr \ |
rocky@3546 | 30 $CONFIGURE_ARGS && |
rocky@3546 | 31 make && |
pascal@15589 | 32 make install DESTDIR=$DESTDIR |
rocky@3546 | 33 } |
rocky@3546 | 34 |
rocky@3546 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
rocky@3546 | 36 genpkg_rules() |
rocky@3546 | 37 { |
rocky@3546 | 38 mkdir -p $fs/usr |
pascal@15589 | 39 cp -a $install/usr/bin $fs/usr |
pascal@15589 | 40 cp -a $install/usr/share $fs/usr |
slaxemulator@9700 | 41 cp $stuff/gmrunrc $fs/usr/share/gmrun |
rocky@3546 | 42 } |