wok annotate lizard/receipt @ rev 25038
make cups-filters compile with qpdf-dev-10.6.1
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 26 10:57:02 2022 +0100 (2022-05-26) |
parents | |
children | 7364ffdaaa60 |
rev | line source |
---|---|
pascal@24059 | 1 # SliTaz package receipt. |
pascal@24059 | 2 |
pascal@24059 | 3 PACKAGE="lizard" |
pascal@24059 | 4 VERSION="1.0" |
pascal@24059 | 5 CATEGORY="base-system" |
pascal@24059 | 6 SHORT_DESC="A modification of LZ4 with a better ratio but slower." |
pascal@24059 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24059 | 8 LICENSE="BSD GPL2" |
pascal@24059 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24059 | 10 WEB_SITE="https://github.com/inikep/lizard" |
pascal@24059 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@24059 | 12 |
pascal@24059 | 13 BUILD_DEPENDS="pkg-config" |
pascal@24059 | 14 |
pascal@24059 | 15 current_version() |
pascal@24059 | 16 { |
pascal@24059 | 17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24059 | 18 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24059 | 19 } |
pascal@24059 | 20 |
pascal@24059 | 21 # Rules to configure and make the package. |
pascal@24059 | 22 compile_rules() |
pascal@24059 | 23 { |
pascal@24059 | 24 sed -i 's|/usr/local|/usr|' Makefile */Makefile |
pascal@24059 | 25 make && |
pascal@24059 | 26 make DESTDIR=$DESTDIR install |
pascal@24059 | 27 } |
pascal@24059 | 28 |
pascal@24059 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24059 | 30 genpkg_rules() |
pascal@24059 | 31 { |
pascal@24059 | 32 mkdir -p $fs/usr/lib |
pascal@24059 | 33 cp -a $install/usr/bin $fs/usr |
pascal@24059 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@24059 | 35 } |