wok-6.x annotate iat/receipt @ rev 25476
Up foomatic-db-nonfree (20221012)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 13 16:28:13 2022 +0000 (2022-10-13) |
parents | ad0bc3efbf37 |
children | 69e1e705f038 |
rev | line source |
---|---|
pascal@1136 | 1 # SliTaz package receipt. |
pascal@1136 | 2 |
pascal@1136 | 3 PACKAGE="iat" |
Hans-G?nter@21040 | 4 VERSION="0.1.7" |
pascal@1136 | 5 CATEGORY="utilities" |
Hans-G?nter@21040 | 6 TAGS="ISO CD DVD convert" |
Hans-G?nter@21040 | 7 SHORT_DESC="iat (Iso9660 Analyzer Tool) converts many types of optical disk \ |
Hans-G?nter@21040 | 8 image file formats into ISO-9660 format." |
pascal@1136 | 9 MAINTAINER="chadi.elahmad@gmail.com" |
pascal@15600 | 10 LICENSE="GPL2" |
pascal@25457 | 11 WEB_SITE="https://sourceforge.net/projects/iat.berlios" |
Hans-G?nter@21040 | 12 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/utilities.html#iat' |
pascal@1136 | 13 |
Hans-G?nter@21040 | 14 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25476 | 15 WGET_URL="$SF_MIRROR/iat.berlios/$TARBALL" |
pascal@1136 | 16 |
pascal@1136 | 17 DEPENDS="" |
pascal@1136 | 18 BUILD_DEPENDS="" |
pascal@1136 | 19 |
pascal@24361 | 20 # What is the latest version available today? |
pascal@24361 | 21 current_version() |
pascal@24361 | 22 { |
pascal@24361 | 23 wget -O - https://sourceforge.net/projects/iat.berlios/files/ 2>/dev/null | \ |
pascal@24361 | 24 sed '/scope="row/!d;/tar/!d;s|.*/iat-||;s|.tar.*||;q' |
pascal@24361 | 25 } |
pascal@24361 | 26 |
pascal@1136 | 27 # Rules to configure and make the package. |
pascal@1136 | 28 # The src files are in a folder simply named iat. |
pascal@1136 | 29 compile_rules() |
pascal@1136 | 30 { |
Hans-G?nter@21040 | 31 ./configure \ |
Hans-G?nter@21040 | 32 --prefix=/usr \ |
Hans-G?nter@21040 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@21040 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@21040 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@21040 | 36 make -j 1 && |
pascal@15600 | 37 make DESTDIR=$DESTDIR install |
pascal@1136 | 38 } |
pascal@1136 | 39 |
pascal@1136 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1136 | 41 genpkg_rules() |
pascal@1136 | 42 { |
pascal@1136 | 43 mkdir -p $fs/usr/bin |
pascal@15600 | 44 cp -a $install/usr/bin $fs/usr |
pascal@1136 | 45 } |