2023-07-24 15:20:54 +00:00
|
|
|
# Basic information
|
|
|
|
name="minitar"
|
|
|
|
version="1.7.5"
|
|
|
|
|
|
|
|
# Download options
|
|
|
|
format="git"
|
|
|
|
url="https://git.cloudapio.eu/apio/minitar.git"
|
|
|
|
tag="$version"
|
|
|
|
|
|
|
|
# Build instructions
|
2023-07-24 16:50:51 +00:00
|
|
|
use_cmake_configure=true
|
2023-07-24 15:20:54 +00:00
|
|
|
|
|
|
|
do_build()
|
|
|
|
{
|
|
|
|
# Also build the examples
|
2023-07-24 16:50:51 +00:00
|
|
|
cmake --build . --target examples
|
2023-07-24 15:20:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2023-07-24 16:50:51 +00:00
|
|
|
cmake --install . --prefix /usr
|
2023-07-24 15:20:54 +00:00
|
|
|
mkdir -p $installdir/usr/bin/
|
2023-07-24 16:50:51 +00:00
|
|
|
cp examples/pack examples/untar examples/list $installdir/usr/bin/
|
2023-07-24 15:20:54 +00:00
|
|
|
}
|