wok-6.x annotate verbiste/receipt @ rev 24541
kfilemetadata: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 23 17:37:38 2022 +0000 (2022-02-23) |
parents | 85e0aa42e26a |
children |
rev | line source |
---|---|
pascal@11228 | 1 # SliTaz package receipt. |
pascal@11228 | 2 |
pascal@11228 | 3 PACKAGE="verbiste" |
Hans-G?nter@22098 | 4 VERSION="0.1.47" |
pascal@11228 | 5 CATEGORY="office" |
Hans-G?nter@22098 | 6 SHORT_DESC="A French conjugation system." |
pascal@11228 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL2" |
Hans-G?nter@22098 | 9 WEB_SITE="http://perso.b2b2c.ca/~sarrazip/dev/verbiste.html" |
Hans-G?nter@22098 | 10 |
pascal@11228 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20679 | 12 WGET_URL="http://perso.b2b2c.ca/~sarrazip/dev/$TARBALL" |
pascal@11228 | 13 |
pascal@11228 | 14 DEPENDS="gtk+ libxml2" |
pascal@11228 | 15 BUILD_DEPENDS="gtk+-dev libxml2-dev" |
pascal@11228 | 16 |
pascal@24462 | 17 # What is the latest version available today? |
pascal@24462 | 18 current_version() |
pascal@24462 | 19 { |
pascal@24462 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24462 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24462 | 22 } |
pascal@24462 | 23 |
pascal@11228 | 24 # Rules to configure and make the package. |
pascal@11228 | 25 compile_rules() |
pascal@11228 | 26 { |
Hans-G?nter@22098 | 27 ./configure \ |
Hans-G?nter@22098 | 28 --with-gnome-app=no \ |
Hans-G?nter@22098 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@22098 | 30 make && |
Hans-G?nter@22098 | 31 make install |
pascal@11228 | 32 } |
pascal@11228 | 33 |
pascal@11228 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11228 | 35 genpkg_rules() |
pascal@11228 | 36 { |
Hans-G?nter@22098 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@22098 | 38 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22098 | 39 |
Hans-G?nter@22098 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22098 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22098 | 42 cp -a $install/usr/share/verbiste-* $fs/usr/share |
pascal@11228 | 43 rm $fs/usr/share/verbiste-*/COPYING |
Hans-G?nter@22098 | 44 cp $src/src/gtk/verbiste*.png $fs/usr/share/pixmaps |
pascal@11228 | 45 } |