wok-next annotate lz4/receipt @ rev 20949
Fix homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 01 16:21:51 2018 +0300 (2018-09-01) |
parents | aa21a3403934 |
children | d5aab818505e |
rev | line source |
---|---|
pascal@20164 | 1 # SliTaz package receipt v2. |
pascal@13235 | 2 |
pascal@13235 | 3 PACKAGE="lz4" |
pascal@20830 | 4 VERSION="1.8.2" |
pascal@13235 | 5 CATEGORY="base-system" |
al@20207 | 6 SHORT_DESC="High speed lossless compressor" |
pascal@13235 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15195 | 8 LICENSE="BSD" |
al@19607 | 9 WEB_SITE="http://lz4.github.io/lz4/" |
pascal@13235 | 10 |
al@19607 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19607 | 12 WGET_URL="$GITHUB/lz4/lz4/tarball/v$VERSION" |
al@19607 | 13 |
pascal@20831 | 14 SPLIT="lz4-dev lz4-lib" |
pascal@17944 | 15 |
al@20443 | 16 compile_rules() { |
al@20443 | 17 export AR="$HOST_SYSTEM-ar" |
al@19607 | 18 make && make PREFIX=/usr DESTDIR=$DESTDIR install |
pascal@13235 | 19 } |
pascal@13235 | 20 |
al@20443 | 21 genpkg_rules() { |
pascal@20158 | 22 case $PACKAGE in |
al@20443 | 23 lz4) |
al@20443 | 24 copy lz4 unlz4 lz4cat |
al@20443 | 25 DEPENDS=" " |
al@20443 | 26 TAGS="compression" |
al@20443 | 27 ;; |
al@20443 | 28 lz4-lib) |
al@20443 | 29 copy *.so* |
al@20443 | 30 CAT="base-system|lz4c compressor shared library" |
al@20443 | 31 DEPENDS=" " |
al@20443 | 32 ;; |
al@20443 | 33 lz4-dev) |
al@20443 | 34 copy @dev |
al@20443 | 35 ;; |
pascal@20158 | 36 esac |
pascal@13235 | 37 } |