wok annotate wimlib/receipt @ rev 25723
added recipe for xfce4-mixer-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Aug 17 16:43:37 2024 +0100 (2 months ago) |
parents | 72f2704d3ae0 |
children |
rev | line source |
---|---|
pascal@15367 | 1 # SliTaz package receipt. |
pascal@15367 | 2 |
pascal@15367 | 3 PACKAGE="wimlib" |
Hans-G?nter@25410 | 4 VERSION="1.13.5" |
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 { |
Hans-G?nter@25410 | 29 ./configure \ |
Hans-G?nter@25410 | 30 --prefix=/usr \ |
Hans-G?nter@25410 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22131 | 32 make && |
Hans-G?nter@25410 | 33 make install DESTDIR=$DESTDIR |
pascal@15367 | 34 } |
pascal@15367 | 35 |
pascal@15367 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15367 | 37 genpkg_rules() |
pascal@15367 | 38 { |
Hans-G?nter@25410 | 39 cook_copy_folders bin |
Hans-G?nter@25410 | 40 cook_copy_folders include |
Hans-G?nter@25410 | 41 cook_copy_folders lib |
pascal@15367 | 42 } |