22 lines
689 B
Bash
22 lines
689 B
Bash
#!/bin/sh
|
|
name="pkg"
|
|
short_desc="Package manager"
|
|
desc="A binary package manager for FreeBSD"
|
|
category="system"
|
|
version="1.20.8"
|
|
maintainer="ffqq@danwin1210.de"
|
|
www="https://github.com/freebsd/pkg"
|
|
master_site="https://github.com/freebsd/pkg/archive/refs/tags"
|
|
source_name="$version.tar.gz"
|
|
license_logic="single" # accepted values: single, and, or
|
|
licenses=("BSD-2-CLAUSE")
|
|
|
|
build_dependencies=("devel/gmake" "lang/gcc" "sysutils/libelf" "devel/libmd" "devel/libbsd")
|
|
run_dependencies=("system/glibc" "sysutils/libelf" "devel/libmd" "devel/libbsd")
|
|
|
|
build_process() {
|
|
cd $name-$version
|
|
./configure --prefix=/usr
|
|
make -j$(nproc)
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install
|
|
} |