wok-next annotate lz5/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents f463de72afe3
children d5aab818505e
rev   line source
al@20463 1 # SliTaz package receipt v2.
pascal@18926 2
pascal@18926 3 PACKAGE="lz5"
al@19607 4 VERSION="1.5"
pascal@18926 5 CATEGORY="base-system"
al@20463 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"
al@19607 9 WEB_SITE="https://github.com/inikep/lz5"
al@19607 10
pascal@18926 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19607 12 WGET_URL="$GITHUB/inikep/lz5/tarball/v$VERSION"
pascal@18926 13
al@20463 14 SPLIT="lz5-dev"
al@20463 15
al@20463 16 compile_rules() {
pascal@18926 17 make &&
al@19607 18 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@18926 19 }
pascal@18926 20
al@20463 21 genpkg_rules() {
al@20463 22 case $PACKAGE in
al@20463 23 lz5)
al@20463 24 copy bin/
al@20463 25 ;;
al@20463 26 *-dev)
al@20463 27 copy include/ lib/
al@20463 28 ;;
al@20463 29 esac
pascal@18926 30 }