gimp-help 2.8.2
[git/cygwin-packages/gimp-help.git] / gimp-help.cygport
CommitLineData
a29bbc55 1inherit gnome2
344d4264 2
2478d33a 3NAME="gimp-help"
b643e9dc 4VERSION=2.8.2
2478d33a 5RELEASE=1
344d4264
YS
6CATEGORY="Graphics"
7SUMMARY="GIMP help documentation"
8DESCRIPTION="GIMP-Help is a help system designed for use with the internal GIMP
9help browser, external web browser and HTML renderers, and human eyeballs.
10Docbook is used to create a highly customizable system for all needs."
11HOMEPAGE="http://www.gimp.org/"
b643e9dc 12SRC_URI="http://download.gimp.org/pub/gimp/help/gimp-help-${VERSION}.tar.bz2"
a29bbc55 13PATCH_URI="2.8.1-cygwin.patch"
344d4264 14
b643e9dc
YS
15ARCH=noarch
16
344d4264
YS
17RESTRICT="diff"
18
2478d33a 19PKG_NAMES="${NAME}"
b643e9dc
YS
20gimp_help_OBSOLETES="${NAME}-en"
21gimp_help_CONTENTS="usr/share/doc/ usr/share/gimp/2.0/help/en/"
344d4264 22
b643e9dc
YS
23for lang in ca:Catalan da:Danish de:German el:Greek en_GB:British es:Spanish \
24 fr:French it:Italian ja:Japanese ko:Korean nl:Dutch nn:Nynorsk \
25 pt_BR:Brazilian ru:Russian sl:Slovenian sv:Swedish zh_CN:Chinese
344d4264 26do
b643e9dc
YS
27 PKG_NAMES+=" ${NAME}-${lang%:*}"
28 declare gimp_help_${lang%:*}_SUMMARY="${lang#*:} translation of ${SUMMARY}"
29 # legal.html links to original English version, which then links to
30 # GFDL subpages and to the stylesheets in the same directory...
31 declare gimp_help_${lang%:*}_REQUIRES=${NAME}
32 declare gimp_help_${lang%:*}_CONTENTS+=" usr/share/gimp/2.0/help/${lang%:*}/"
344d4264
YS
33done
34
35MAKEOPTS+=" -j1"
36
37src_compile() {
38 cd ${S}
a29bbc55 39 ${S}/configure --prefix=/usr --enable-build --without-gimp || error "autogen.sh failed"
344d4264
YS
40 cygmake
41}
42
43src_install() {
44 cd ${S}
45 cyginstall
a29bbc55
YS
46 # fix permissions
47 find ${D} -type f -exec chmod 644 '{}' +
344d4264 48}
This page took 0.034281 seconds and 5 git commands to generate.