wok annotate jhead/receipt @ rev 24956
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:35:24 2022 +0100 (2022-04-23) |
parents | ad8b9ff412d2 |
children | 5db546345599 |
rev | line source |
---|---|
pascal@16775 | 1 # SliTaz package receipt. |
pascal@16775 | 2 |
pascal@16775 | 3 PACKAGE="jhead" |
Hans-G?nter@24688 | 4 VERSION="3.06.0.1" |
pascal@16775 | 5 CATEGORY="graphics" |
Hans-G?nter@21082 | 6 SHORT_DESC="Exif Jpeg header manipulation tool." |
pascal@16775 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16775 | 8 LICENSE="PublicDomain" |
Hans-G?nter@24688 | 9 WEB_SITE="https://www.sentex.net/~mwandel/jhead/" |
Hans-G?nter@21082 | 10 |
pascal@16775 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24688 | 12 WGET_URL="https://github.com/Matthias-Wandel/$PACKAGE/archive/refs/tags/$VERSION.tar.gz" |
pascal@16775 | 13 |
pascal@16775 | 14 DEPENDS="" |
pascal@16775 | 15 BUILD_DEPENDS="" |
pascal@16775 | 16 |
pascal@24433 | 17 # What is the latest version available today? |
pascal@24433 | 18 current_version() |
pascal@24433 | 19 { |
pascal@24433 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24433 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24433 | 22 } |
pascal@24433 | 23 |
pascal@16775 | 24 # Rules to configure and make the package. |
pascal@16775 | 25 compile_rules() |
pascal@16775 | 26 { |
Hans-G?nter@22969 | 27 # because dpkg-buildflags is unknown: |
Hans-G?nter@22969 | 28 sed -i 's|CPPFLAGS|#CPPFLAGS|; s|CFLAGS|#CFLAGS|; s|LDFLAGS|#LDFLAGS|' \ |
Hans-G?nter@22969 | 29 makefile |
Hans-G?nter@22969 | 30 |
pascal@16775 | 31 make |
pascal@16775 | 32 } |
pascal@16775 | 33 |
pascal@16775 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16775 | 35 genpkg_rules() |
pascal@16775 | 36 { |
pascal@16775 | 37 mkdir -p $fs/usr/bin |
Hans-G?nter@22969 | 38 cp -a $src/jhead $fs/usr/bin |
pascal@16775 | 39 } |