wok-next annotate lz4/receipt @ rev 20164

icedtea6-jdk: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 17:54:23 2017 +0100 (2017-11-01)
parents f0f0943bee17
children ccb92f8ccaf6
rev   line source
pascal@20164 1 # SliTaz package receipt v2.
pascal@13235 2
pascal@13235 3 PACKAGE="lz4"
al@19607 4 VERSION="1.7.5"
pascal@13235 5 CATEGORY="base-system"
pankso@15872 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 TAGS="compression"
pascal@13235 11
al@19607 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19607 13 WGET_URL="$GITHUB/lz4/lz4/tarball/v$VERSION"
al@19607 14
pascal@20158 15 SPLIT="lz4 lz4-dev lz4-lib lz4c"
pascal@17944 16
pascal@13235 17 # Rules to configure and make the package.
pascal@13235 18 compile_rules()
pascal@13235 19 {
al@19607 20 make && make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@13235 21 }
pascal@13235 22
pascal@13235 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13235 24 genpkg_rules()
pascal@13235 25 {
pascal@20158 26 case $PACKAGE in
pascal@20158 27 lz4)
pascal@20158 28 copy lz4 unlz4 lz4cat
pascal@20158 29 ;;
pascal@20158 30 lz4c)
pascal@20158 31 CAT="base-system|The lz4c compressor"
pascal@20158 32 copy lz4c
pascal@20158 33 ;;
pascal@20158 34 lz4-dev)
pascal@20158 35 CAT="development|LZ4 development files."
pascal@20158 36 DEPENDS="pkg-config lz4-lib"
pascal@20158 37 copy *.h *.a *.pc
pascal@20158 38 ;;
pascal@20158 39 lz4-lib)
pascal@20158 40 CAT="base-system|The lz4c compressor shared library"
pascal@20158 41 copy *.so*
pascal@20158 42 ;;
pascal@20158 43 esac
pascal@13235 44 }