wok annotate azdrawing/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (19 months ago) |
parents | b01314c762e9 |
children | 343c093ad221 |
rev | line source |
---|---|
pascal@19950 | 1 # SliTaz package receipt. |
pascal@19950 | 2 |
pascal@19950 | 3 PACKAGE="azdrawing" |
pascal@19950 | 4 VERSION="1.5" |
pascal@19950 | 5 CATEGORY="graphics" |
pascal@19950 | 6 SHORT_DESC="A painting software for line drawings and monochrome cartoons." |
pascal@19950 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19950 | 8 LICENSE="GPL3 LGPL3" |
pascal@19950 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@19950 | 10 WEB_SITE="https://osdn.net/projects/azdrawing/" |
pascal@25021 | 11 WGET_URL="http://azsky2.html.xdomain.jp/arc/$TARBALL" |
pascal@19950 | 12 |
pascal@19950 | 13 DEPENDS="xorg-libX11 xorg-libXext xorg-libXi xorg-libXft freetype fontconfig \ |
pascal@19950 | 14 libjpeg-turbo" |
pascal@19950 | 15 BUILD_DEPENDS="xorg-dev freetype-dev fontconfig-dev libjpeg-turbo-dev zlib-dev" |
pascal@19950 | 16 |
pascal@24759 | 17 # What is the latest version available today? |
pascal@24759 | 18 current_version() |
pascal@24759 | 19 { |
pascal@24759 | 20 wget -O - https://github.com/andeon/azdrawing/releases 2>/dev/null | \ |
pascal@24759 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24759 | 22 } |
pascal@24759 | 23 |
pascal@19950 | 24 # Rules to configure and make the package. |
pascal@19950 | 25 compile_rules() |
pascal@19950 | 26 { |
pascal@23597 | 27 sed -e "s|/usr/local|$DESTDIR/usr|;s|\$(MACRO) ||" \ |
pascal@23597 | 28 -e '/gtk-update-icon-cache/d' -i Makefile |
pascal@19950 | 29 make && make install |
pascal@19950 | 30 } |
pascal@19950 | 31 |
pascal@19950 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19950 | 33 genpkg_rules() |
pascal@19950 | 34 { |
pascal@19950 | 35 cp -a $install/usr $fs |
pascal@19950 | 36 } |