wok-6.x annotate wimlib/receipt @ rev 24711
updated leptonica and leptonica-dev (1.79.0 -> 1.82.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 17:39:23 2022 +0100 (2022-03-14) |
parents | 0ba37e865e61 |
children | 72f2704d3ae0 |
rev | line source |
---|---|
pascal@15367 | 1 # SliTaz package receipt. |
pascal@15367 | 2 |
pascal@15367 | 3 PACKAGE="wimlib" |
Hans-G?nter@22131 | 4 VERSION="1.13.1" |
pascal@15367 | 5 CATEGORY="utilities" |
pascal@15367 | 6 SHORT_DESC="Library to create, extract, and modify Windows Imaging (WIM) files." |
pascal@15367 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15367 | 8 LICENSE="GPL3" |
Hans-G?nter@22131 | 9 WEB_SITE="https://wimlib.net/" |
Hans-G?nter@22131 | 10 |
pascal@15367 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22131 | 12 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
pascal@15367 | 13 |
Hans-G?nter@22131 | 14 DEPENDS="cabextract cdrkit fuse libcrypto libxml2 mtools ntfs-3g |
Hans-G?nter@22131 | 15 syslinux zlib" |
Hans-G?nter@22131 | 16 BUILD_DEPENDS="attr-dev cabextract cdrkit fuse-dev libxml2-dev mtools |
Hans-G?nter@22131 | 17 ntfs-3g-dev openssl-dev pkg-config syslinux" |
pascal@15367 | 18 |
pascal@24427 | 19 # What is the latest version available today? |
pascal@24427 | 20 current_version() |
pascal@24427 | 21 { |
pascal@24427 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 24 } |
pascal@24427 | 25 |
pascal@15367 | 26 # Rules to configure and make the package. |
pascal@15367 | 27 compile_rules() |
pascal@15367 | 28 { |
pascal@15367 | 29 ./configure --prefix=/usr $CONFIGURE_ARGS && |
Hans-G?nter@22131 | 30 make && |
Hans-G?nter@22131 | 31 make DESTDIR=$DESTDIR install |
pascal@15367 | 32 } |
pascal@15367 | 33 |
pascal@15367 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15367 | 35 genpkg_rules() |
pascal@15367 | 36 { |
pascal@15367 | 37 cp -a $install/usr $fs |
pascal@15367 | 38 } |