wok-6.x annotate libexif/receipt @ rev 24554
updated flac and flac-dev again (1.3.3 -> 1.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 11:25:23 2022 +0100 (2022-02-25) |
parents | 5ea0ce1cecc0 |
children | bbb340edb2d2 |
rev | line source |
---|---|
pankso@1277 | 1 # SliTaz package receipt. |
pankso@1277 | 2 |
pankso@1277 | 3 PACKAGE="libexif" |
pascal@23834 | 4 VERSION="0.6.22" |
pankso@1277 | 5 CATEGORY="system-tools" |
pankso@1277 | 6 SHORT_DESC="Reads and writes EXIF metainformation from and to image files." |
pankso@1277 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21176 | 9 WEB_SITE="http://libexif.sourceforge.net/" |
Hans-G?nter@21176 | 10 |
pascal@23834 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@23834 | 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$PACKAGE-${VERSION//./_}-release/$TARBALL" |
Hans-G?nter@21176 | 13 |
pankso@16095 | 14 HOST_ARCH="i486 arm" |
pankso@1277 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24055 | 18 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24100 | 19 sed '/archive.*libexif.*tar/!d;s|.*/libexif-\(.*\)-release.*|\1|;s|_|.|g;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pankso@1277 | 22 # Rules to configure and make the package. |
pankso@1277 | 23 compile_rules() |
pankso@1277 | 24 { |
pascal@23834 | 25 ln -s /bin/sh /usr/bin/sh |
Hans-G?nter@21176 | 26 ./configure \ |
Hans-G?nter@21176 | 27 --prefix=/usr \ |
Hans-G?nter@21176 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@21176 | 29 make -j 1 && |
pascal@15472 | 30 make DESTDIR=$DESTDIR install |
pascal@23834 | 31 rm /usr/bin/sh |
pankso@1277 | 32 } |
pankso@1277 | 33 |
pankso@1277 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1277 | 35 genpkg_rules() |
pankso@1277 | 36 { |
pankso@1277 | 37 mkdir -p $fs/usr/lib |
pascal@15472 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@1277 | 39 } |