wok annotate 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 |
rev | line source |
---|---|
nneul@18389 | 1 # SliTaz package receipt. |
nneul@18389 | 2 |
nneul@18389 | 3 PACKAGE="libmspack" |
Hans-G?nter@21260 | 4 VERSION="0.10.1" |
nneul@18389 | 5 CATEGORY="development" |
Hans-G?nter@21260 | 6 SHORT_DESC="A library which allows extracting from MS CAB files." |
nneul@18389 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18389 | 8 LICENSE="LGPL" |
pascal@20669 | 9 WEB_SITE="https://www.cabextract.org.uk/libmspack/" |
Hans-G?nter@21260 | 10 |
Hans-G?nter@21260 | 11 TARBALL="$PACKAGE-${VERSION}alpha.tar.gz" |
Hans-G?nter@21260 | 12 WGET_URL="https://www.cabextract.org.uk/$PACKAGE/$TARBALL" |
nneul@18389 | 13 |
pascal@24447 | 14 # What is the latest version available today? |
pascal@24447 | 15 current_version() |
pascal@24447 | 16 { |
pascal@24447 | 17 wget -O - https://github.com/kyz/libmspack/tags 2>/dev/null | \ |
pascal@24447 | 18 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24447 | 19 } |
pascal@24447 | 20 |
nneul@18389 | 21 # Rules to configure and make the package. |
nneul@18389 | 22 compile_rules() |
nneul@18389 | 23 { |
Hans-G?nter@21260 | 24 ./configure \ |
Hans-G?nter@21260 | 25 --prefix=/usr \ |
Hans-G?nter@21260 | 26 --infodir=/usr/share/info \ |
Hans-G?nter@21260 | 27 --mandir=/usr/share/man \ |
nneul@18389 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@21260 | 29 make -j 1 && |
Hans-G?nter@21260 | 30 make DESTDIR=$DESTDIR install |
nneul@18389 | 31 } |
nneul@18389 | 32 |
nneul@18389 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18389 | 34 genpkg_rules() |
nneul@18389 | 35 { |
nneul@18389 | 36 mkdir -p $fs/usr/lib |
nneul@18389 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
nneul@18389 | 38 } |