wok annotate wimlib/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 83b97236db32
children 1b6e9e73cbed
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
pascal@24766 14 DEPENDS="cabextract cdrkit fuse2 libcrypto libxml2 mtools ntfs-3g
Hans-G?nter@22131 15 syslinux zlib"
pascal@24766 16 BUILD_DEPENDS="attr-dev cabextract cdrkit fuse2-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 }