wok-current annotate ploticus/receipt @ rev 24765
afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 17:45:47 2022 +0000 (2022-03-18) |
parents | e7c057e9eeda |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@1609 | 1 # SliTaz package receipt. |
pascal@1609 | 2 |
pascal@1609 | 3 PACKAGE="ploticus" |
Hans-G?nter@21686 | 4 VERSION="2.42" |
pascal@1609 | 5 CATEGORY="misc" |
pascal@1609 | 6 SHORT_DESC="Data display engine." |
pascal@1609 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15089 | 8 LICENSE="GPL" |
pascal@1609 | 9 WEB_SITE="http://ploticus.sourceforge.net/" |
Hans-G?nter@21686 | 10 |
Hans-G?nter@21686 | 11 #SOURCE="pl240src" |
Hans-G?nter@21686 | 12 TARBALL="${PACKAGE}${VERSION/./}_src.tar.gz" |
pascal@1609 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15089 | 14 |
pascal@2608 | 15 DEPENDS="zlib xorg libpng" |
pascal@15089 | 16 BUILD_DEPENDS="zlib-dev xorg-dev libpng-dev" |
pascal@1609 | 17 |
pascal@24396 | 18 # What is the latest version available today? |
pascal@24396 | 19 current_version() |
pascal@24396 | 20 { |
pascal@24396 | 21 wget -O - https://sourceforge.net/projects/ploticus/files/ploticus/ 2>/dev/null | \ |
pascal@24396 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24396 | 23 sed '/scope="row/!d;s|.*/ploticus/||;s|/.*||;q' |
pascal@24396 | 24 } |
pascal@24396 | 25 |
pascal@1609 | 26 # Rules to configure and make the package. |
pascal@1609 | 27 compile_rules() |
pascal@1609 | 28 { |
pascal@1609 | 29 cd $src/src |
pascal@1609 | 30 make || return 1 |
pascal@15089 | 31 mkdir -p $DESTDIR/usr/bin |
pascal@15089 | 32 cp pl $DESTDIR/usr/bin |
pascal@1609 | 33 } |
pascal@1609 | 34 |
pascal@1609 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1609 | 36 genpkg_rules() |
pascal@1609 | 37 { |
pascal@15089 | 38 cp -a $install/usr $fs |
pascal@1609 | 39 } |