wok annotate exiv2/receipt @ rev 24576
updated fswebcam (20140113 -> 20200725)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 10:49:46 2022 +0100 (2022-02-27) |
parents | b2a37165af08 |
children | 00e3b45c063b |
rev | line source |
---|---|
jozee@2725 | 1 # SliTaz package receipt. |
jozee@2725 | 2 |
jozee@2725 | 3 PACKAGE="exiv2" |
Hans-G?nter@24528 | 4 VERSION="0.27.5" |
jozee@2725 | 5 CATEGORY="graphics" |
Hans-G?nter@22750 | 6 SHORT_DESC="Exif and Iptc metadata manipulation library and tools." |
jozee@2725 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2" |
pascal@21145 | 9 WEB_SITE="https://www.exiv2.org/" |
Hans-G?nter@20899 | 10 |
Hans-G?nter@24529 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24529 | 12 WGET_URL="https://github.com/Exiv2/$PACKAGE/archive/v$VERSION.tar.gz" |
Hans-G?nter@22750 | 13 |
Hans-G?nter@22750 | 14 DEPENDS="expat gcc-lib-base zlib" |
Hans-G?nter@22750 | 15 BUILD_DEPENDS="cmake expat-dev gcc-lib-base zlib-dev" |
Hans-G?nter@22750 | 16 |
pankso@16269 | 17 HOST_ARCH="i486 arm" |
jozee@2725 | 18 |
pascal@24436 | 19 # What is the latest version available today? |
pascal@24436 | 20 current_version() |
pascal@24436 | 21 { |
pascal@24436 | 22 wget -O - https://exiv2.org/download.html 2>/dev/null | \ |
pascal@24436 | 23 sed '/Exiv2 v/!d;/ource/!d;s|.*v2-||;s|-.*||;q' |
pascal@24436 | 24 } |
pascal@24436 | 25 |
jozee@2725 | 26 # Rules to configure and make the package. |
jozee@2725 | 27 compile_rules() |
jozee@2725 | 28 { |
Hans-G?nter@24528 | 29 mkdir _build && |
Hans-G?nter@24528 | 30 cd _build && |
Hans-G?nter@24528 | 31 cmake .. \ |
Hans-G?nter@22750 | 32 -G "Unix Makefiles" \ |
Hans-G?nter@24528 | 33 -D CMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@24528 | 34 cmake --build . && |
Hans-G?nter@24528 | 35 make && |
Hans-G?nter@24528 | 36 make install DESTDIR=$DESTDIR |
jozee@2725 | 37 } |
jozee@2725 | 38 |
jozee@2725 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2725 | 40 genpkg_rules() |
jozee@2725 | 41 { |
Hans-G?nter@24528 | 42 cook_copy_folders bin |
Hans-G?nter@24528 | 43 cook_copy_files *.so* |
jozee@2725 | 44 } |