wok-6.x annotate lz4/receipt @ rev 22386

audacity: update depends
author Richard Dunbar <mojo@slitaz.org>
date Thu Nov 28 09:13:22 2019 -0500 (2019-11-28)
parents 106635122fe4
children 25f8eb393142
rev   line source
pascal@13235 1 # SliTaz package receipt.
pascal@13235 2
pascal@13235 3 PACKAGE="lz4"
pascal@21825 4 VERSION="1.9.2"
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"
pascal@18186 9 WEB_SITE="http://www.lz4.org/"
pankso@15872 10 TARBALL="$PACKAGE-r$VERSION.tar.gz"
pascal@19691 11 WGET_URL="https://github.com/lz4/lz4/archive/v$VERSION.tar.gz"
pascal@13235 12 TAGS="compression"
pascal@13235 13
pascal@17944 14 BUILD_DEPENDS="wget"
pascal@17944 15
pascal@13235 16 # Rules to configure and make the package.
pascal@13235 17 compile_rules()
pascal@13235 18 {
pascal@17944 19 find -type f | xargs sed -i 's|usr/local|usr|'
pascal@20181 20 make LDFLAGS="$LDFLAGS -lrt" && make 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@21604 26 mkdir -p $fs/usr $install/usr/share
pascal@20222 27 cp -a $install/usr/bin $fs/usr
pascal@21604 28 cp -a $src/doc $install/usr/share
pascal@21604 29 cp $src/README* $src/NEWS $src/LICENSE $install/usr/share/doc
pascal@13235 30 }