wok-current annotate tuxpaint/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | 9288c215c7c2 |
children | cb67b4f8be05 |
rev | line source |
---|---|
pankso@12729 | 1 # SliTaz package receipt. |
pankso@12729 | 2 |
pankso@12729 | 3 PACKAGE="tuxpaint" |
Hans-G?nter@22059 | 4 VERSION="0.9.23" |
pankso@12729 | 5 CATEGORY="graphics" |
Hans-G?nter@22059 | 6 SHORT_DESC="Drawing program designed for young children." |
pankso@12729 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15590 | 8 LICENSE="GPL2" |
Hans-G?nter@22059 | 9 WEB_SITE="http://tuxpaint.org/" |
Hans-G?nter@22059 | 10 |
pankso@12729 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@12729 | 12 WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" |
pankso@12729 | 13 |
Hans-G?nter@22059 | 14 DEPENDS="cairo fribidi libpaper libpng librsvg libsdl-image libsdl-mixer \ |
Hans-G?nter@22059 | 15 libsdl-pango libsdl-ttf python" |
Hans-G?nter@22059 | 16 BUILD_DEPENDS="cairo-dev fribidi-dev gperf kdelibs libpaper-dev libpng-dev |
Hans-G?nter@22059 | 17 libQtSvg librsvg-dev libsdl-dev libsdl-image-dev libsdl-mixer-dev |
Hans-G?nter@22059 | 18 libsdl-pango-dev libsdl-ttf-dev python-dev" |
pankso@12729 | 19 |
pascal@24082 | 20 current_version() |
pascal@24082 | 21 { |
pascal@24082 | 22 wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ |
pascal@24082 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24082 | 24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24082 | 25 } |
pascal@24082 | 26 |
pankso@12729 | 27 # Rules to configure and make the package. |
pankso@12729 | 28 compile_rules() |
pankso@12729 | 29 { |
pankso@12729 | 30 sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile |
pascal@24086 | 31 sed '/DIR).(KDE_PREFIX).tuxpaint.desktop/{N;N;s|desktop; \\|&\n\t kbuildsycoca4; \\|;s|fi\n\tkbuildsycoca4|fi|}' \ |
pascal@24086 | 32 -i Makefile |
Hans-G?nter@22059 | 33 |
Hans-G?nter@24017 | 34 make -j1 PREFIX=/usr && |
pascal@24085 | 35 make -j1 PREFIX=/usr DESTDIR=$DESTDIR install |
pankso@12729 | 36 } |
pankso@12729 | 37 |
pankso@12729 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@12729 | 39 genpkg_rules() |
pankso@12729 | 40 { |
pankso@12729 | 41 mkdir -p $fs/usr/share |
Hans-G?nter@22059 | 42 |
Hans-G?nter@22059 | 43 cp -a $install/etc $fs |
Hans-G?nter@22059 | 44 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22059 | 45 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22059 | 46 cp -a $install/usr/share/tuxpaint $fs/usr/share |
pankso@12729 | 47 } |