wok-next rev 19834
Up svgcleaner, add libgit2, exa
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 05 15:17:06 2017 +0300 (2017-08-05) |
parents | 8f554bc45cec |
children | 38cf0c75fa4c |
files | exa/description.txt exa/receipt libgit2/receipt svgcleaner/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/exa/description.txt Sat Aug 05 15:17:06 2017 +0300 1.3 @@ -0,0 +1,6 @@ 1.4 +**exa** is a modern replacement for **ls**. It uses colours for information by 1.5 +default, helping you distinguish between many types of files, such as whether 1.6 +you are the owner, or in the owning group. It also has extra features not 1.7 +present in the original ls, such as viewing the Git status for a directory, or 1.8 +recursing into directories with a tree view. exa is written in Rust, so it’s 1.9 +small, fast, and portable.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/exa/receipt Sat Aug 05 15:17:06 2017 +0300 2.3 @@ -0,0 +1,32 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="exa" 2.7 +VERSION="0.7.0" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Replacement for 'ls' written in Rust" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +LICENSE="MIT" 2.12 +WEB_SITE="https://the.exa.website/" 2.13 + 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +WGET_URL="https://github.com/ogham/exa/archive/v$VERSION.tar.gz" 2.16 + 2.17 +BUILD_DEPENDS="rust-cargo libgit2-dev cmake" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + # save caches here 2.23 + export CARGO_HOME=/home/cargo 2.24 + 2.25 + sed -i 's|/usr/local|/usr|' Makefile 2.26 + 2.27 + make && make DESTDIR=$install install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + copy @std 2.34 + DEPENDS="zlib" 2.35 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/libgit2/receipt Sat Aug 05 15:17:06 2017 +0300 3.3 @@ -0,0 +1,40 @@ 3.4 +# SliTaz package receipt v2. 3.5 + 3.6 +PACKAGE="libgit2" 3.7 +VERSION="0.26.0" 3.8 +CATEGORY="libs" 3.9 +SHORT_DESC="A linkable library for Git" 3.10 +MAINTAINER="al.bobylev@gmail.com" 3.11 +LICENSE="GPL2" 3.12 +WEB_SITE="https://libgit2.github.com/" 3.13 + 3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.15 +WGET_URL="https://github.com/libgit2/libgit2/archive/v$VERSION.tar.gz" 3.16 + 3.17 +BUILD_DEPENDS="cmake curl-dev python" 3.18 +SPLIT="libgit2-dev" 3.19 + 3.20 +# Rules to configure and make the package. 3.21 +compile_rules() 3.22 +{ 3.23 + cmake \ 3.24 + -DCMAKE_BUILD_TYPE=Release \ 3.25 + -DCMAKE_INSTALL_PREFIX=/usr \ 3.26 + -DTHREADSAFE=ON && 3.27 + make && make install 3.28 +} 3.29 + 3.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.31 +genpkg_rules() 3.32 +{ 3.33 + case $PACKAGE in 3.34 + libgit2) 3.35 + copy @std 3.36 + DEPENDS="libcrypto libcurl libssh2 libssl zlib" 3.37 + ;; 3.38 + *-dev) 3.39 + copy @dev 3.40 + DEPENDS="libgit2 curl-dev libssh2-dev openssl-dev zlib-dev" 3.41 + ;; 3.42 + esac 3.43 +}
4.1 --- a/svgcleaner/receipt Sat Aug 05 13:41:40 2017 +0300 4.2 +++ b/svgcleaner/receipt Sat Aug 05 15:17:06 2017 +0300 4.3 @@ -1,8 +1,8 @@ 4.4 # SliTaz package receipt v2. 4.5 4.6 PACKAGE="svgcleaner" 4.7 -VERSION="0.9.0" 4.8 -#COMMIT="16e20b3" 4.9 +VERSION="0.9.1" 4.10 +#COMMIT="0ba759e" 4.11 CATEGORY="graphics" 4.12 SHORT_DESC="Clean up SVG files from the unnecessary data" 4.13 MAINTAINER="al.bobylev@gmail.com" 4.14 @@ -17,6 +17,9 @@ 4.15 # Rules to configure and make the package. 4.16 compile_rules() 4.17 { 4.18 + # save caches here 4.19 + export CARGO_HOME=/home/cargo 4.20 + 4.21 # to build from crates: no source needed, but no version control 4.22 #cargo install svgcleaner --root=$install/usr 4.23