wok view libmspack/receipt @ rev 25620

Up youtube-dl (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 30 10:53:19 2023 +0000 (14 months ago)
parents 09922ce0d6ae
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libmspack"
4 VERSION="0.10.1"
5 CATEGORY="development"
6 SHORT_DESC="A library which allows extracting from MS CAB files."
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://www.cabextract.org.uk/libmspack/"
11 TARBALL="$PACKAGE-${VERSION}alpha.tar.gz"
12 WGET_URL="https://www.cabextract.org.uk/$PACKAGE/$TARBALL"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - https://github.com/kyz/libmspack/tags 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }