wok-next annotate lz4/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 911d588a7120 |
children | 7fc972e95a2e |
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 |
al@21020 | 14 SPLIT="$PACKAGE-lib $PACKAGE-dev" |
pascal@17944 | 15 |
al@20443 | 16 compile_rules() { |
al@20443 | 17 export AR="$HOST_SYSTEM-ar" |
al@21020 | 18 make && |
al@21020 | 19 make PREFIX=/usr DESTDIR=$install install |
pascal@13235 | 20 } |
pascal@13235 | 21 |
al@20443 | 22 genpkg_rules() { |
pascal@20158 | 23 case $PACKAGE in |
al@20443 | 24 lz4) |
al@20443 | 25 copy lz4 unlz4 lz4cat |
al@20443 | 26 DEPENDS=" " |
al@20443 | 27 TAGS="compression" |
al@20443 | 28 ;; |
al@21020 | 29 *-lib) |
al@20443 | 30 copy *.so* |
al@21020 | 31 CAT="base-system|shared library" |
al@20443 | 32 DEPENDS=" " |
al@20443 | 33 ;; |
al@21020 | 34 *-dev) |
al@20443 | 35 copy @dev |
al@20443 | 36 ;; |
pascal@20158 | 37 esac |
pascal@13235 | 38 } |