wok annotate lz5/receipt @ rev 23685
sqlite: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 26 16:28:39 2020 +0000 (2020-04-26) |
parents | 0d2e6c06ec25 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@18926 | 1 # SliTaz package receipt. |
pascal@18926 | 2 |
pascal@18926 | 3 PACKAGE="lz5" |
pascal@19691 | 4 VERSION="2.0" |
pascal@18926 | 5 CATEGORY="base-system" |
pascal@18926 | 6 SHORT_DESC="A modification of LZ4 with a better ratio but slower." |
pascal@18926 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18926 | 8 LICENSE="BSD GPL2" |
pascal@18926 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18926 | 10 WEB_SITE="https://github.com/inikep/lz5" |
pascal@18926 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@18926 | 12 |
pascal@18926 | 13 BUILD_DEPENDS="pkg-config" |
pascal@18926 | 14 |
pascal@18926 | 15 # Rules to configure and make the package. |
pascal@18926 | 16 compile_rules() |
pascal@18926 | 17 { |
pascal@18926 | 18 sed -i 's|/usr/local|/usr|' Makefile */Makefile |
pascal@18926 | 19 make && |
pascal@18926 | 20 make DESTDIR=$DESTDIR install |
pascal@18926 | 21 } |
pascal@18926 | 22 |
pascal@18926 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18926 | 24 genpkg_rules() |
pascal@18926 | 25 { |
pascal@19691 | 26 mkdir -p $fs/usr/lib |
pascal@19691 | 27 cp -a $install/usr/bin $fs/usr |
pascal@19691 | 28 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@18926 | 29 } |