wok-next annotate hiredis/receipt @ rev 21157
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 04 11:54:13 2019 +0100 (2019-02-04) |
parents | 0b3c35d905d2 |
children |
rev | line source |
---|---|
al@20329 | 1 # SliTaz package receipt v2. |
pascal@18371 | 2 |
pascal@18371 | 3 PACKAGE="hiredis" |
pascal@18371 | 4 VERSION="0.13.3" |
pascal@18371 | 5 CATEGORY="misc" |
al@20329 | 6 SHORT_DESC="Minimalistic C client for Redis >= 1.2" |
pascal@18371 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18371 | 8 LICENSE="BSD" |
al@20329 | 9 WEB_SITE="https://github.com/redis/hiredis" |
al@20329 | 10 |
pascal@18371 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18371 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@18371 | 13 |
al@21020 | 14 SPLIT="$PACKAGE-dev" |
pascal@18371 | 15 |
al@20329 | 16 compile_rules() { |
al@20329 | 17 make && |
al@20329 | 18 make \ |
al@20329 | 19 PREFIX=/usr \ |
al@21020 | 20 DESTDIR=$install \ |
al@20329 | 21 install |
pascal@18371 | 22 } |
pascal@18371 | 23 |
al@20329 | 24 genpkg_rules() { |
al@20329 | 25 case $PACKAGE in |
al@20329 | 26 hiredis) copy @std;; |
al@20329 | 27 *-dev) copy @dev;; |
al@20329 | 28 esac |
pascal@18371 | 29 } |