Luna/ports/minitar/PACKAGE
apio c70790bf62
All checks were successful
continuous-integration/drone/push Build is passing
ports: Add some defaults for CMake projects as well
2023-07-24 18:50:51 +02:00

25 lines
437 B
Plaintext

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