wok-current view wimlib/receipt @ rev 25527
created recipes for libmpack and libmpack-dev 1.0.5
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:28:19 2023 +0100 (21 months ago) |
parents | 72f2704d3ae0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="wimlib"
4 VERSION="1.13.5"
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 \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_folders include
41 cook_copy_folders lib
42 }