wok-next annotate exa/receipt @ rev 21637
faad2: added build dependency libtool
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 11:18:23 2020 +0100 (2020-06-26) |
parents | 38cf0c75fa4c |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
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@21020 | 16 compile_rules() { |
al@19834 | 17 # save caches here |
al@19834 | 18 export CARGO_HOME=/home/cargo |
al@19834 | 19 |
al@19834 | 20 sed -i 's|/usr/local|/usr|' Makefile |
al@19834 | 21 |
al@21020 | 22 make && |
al@21020 | 23 make DESTDIR=$install install |
al@19834 | 24 } |
al@19834 | 25 |
al@21020 | 26 genpkg_rules() { |
al@19834 | 27 copy @std |
al@19834 | 28 DEPENDS="zlib" |
al@19834 | 29 } |