wok-next view exa/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents 42f46ff4970b
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="exa"
4 VERSION="0.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Replacement for 'ls' written in Rust"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://the.exa.website/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/ogham/exa/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="rust libgit2-dev cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # save caches here
20 export CARGO_HOME=/home/cargo
22 sed -i 's|/usr/local|/usr|' Makefile
24 make && make DESTDIR=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 copy @std
31 DEPENDS="zlib"
32 }