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