wok-current view wimlib/receipt @ rev 25095
Up libkeybinder (0.3.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 18 13:48:16 2022 +0000 (2022-06-18) |
parents | 83b97236db32 |
children | 1b6e9e73cbed |
line source
1 # SliTaz package receipt.
3 PACKAGE="wimlib"
4 VERSION="1.13.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Library to create, extract, and modify Windows Imaging (WIM) files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://wimlib.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}downloads/$TARBALL"
14 DEPENDS="cabextract cdrkit fuse2 libcrypto libxml2 mtools ntfs-3g
15 syslinux zlib"
16 BUILD_DEPENDS="attr-dev cabextract cdrkit fuse2-dev libxml2-dev mtools
17 ntfs-3g-dev openssl-dev pkg-config syslinux"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }