wok-next annotate azpainter/receipt @ rev 21545
updated cgames (2.2 -> 2.2b)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 17:35:44 2020 +0100 (2020-06-21) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@20958 | 1 # SliTaz package receipt v2. |
al@19716 | 2 |
al@19716 | 3 PACKAGE="azpainter" |
Hans-G?nter@21211 | 4 VERSION="2.1.3" |
al@19716 | 5 CATEGORY="graphics" |
al@19716 | 6 SHORT_DESC="Full color painting software for illustration drawing" |
al@19716 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
al@19716 | 8 LICENSE="GPL3 BSD" |
al@19716 | 9 WEB_SITE="https://osdn.net/projects/azpainter/" |
al@19716 | 10 |
al@20958 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20958 | 12 WGET_URL="https://osdn.net/dl/azpainter/$TARBALL" |
al@19716 | 13 |
al@20958 | 14 # Use GNU wget because Busybox wget can't follow redirection |
Hans-G?nter@21211 | 15 BUILD_DEPENDS="fontconfig-dev freetype-dev libjpeg-turbo-dev \ |
Hans-G?nter@21211 | 16 libx11-dev libxext-dev libxi-dev wget" |
al@19716 | 17 |
Hans-G?nter@21211 | 18 compile_rules() |
Hans-G?nter@21211 | 19 { |
al@20958 | 20 # regenerate translations after patching |
al@20958 | 21 cd translation |
al@20958 | 22 make |
Hans-G?nter@21211 | 23 for i in en be ja pt_BR ru uk zh_CN |
Hans-G?nter@21211 | 24 do |
al@20958 | 25 ./mtrconv $i $i.mtr |
Hans-G?nter@21211 | 26 done |
al@20958 | 27 cd - |
al@20958 | 28 |
al@19716 | 29 ./configure $CONFIGURE_ARGS && |
al@19716 | 30 make && |
al@20958 | 31 make install-strip || return 1 |
al@20958 | 32 |
al@20958 | 33 cp -f translation/*.mtr $install/usr/share/azpainter/tr/ |
al@19716 | 34 } |
al@19716 | 35 |
Hans-G?nter@21211 | 36 genpkg_rules() |
Hans-G?nter@21211 | 37 { |
al@19716 | 38 copy @std |
al@21078 | 39 DEPENDS="fontconfig freetype libjpeg-turbo libpng libx11 \ |
al@21078 | 40 libxext libxi zlib" |
al@19716 | 41 } |