new prt-get port

This commit is contained in:
Alexander Zhirov 2024-03-24 22:11:52 +03:00
parent a07de9d419
commit 2a7eb15f1e
3 changed files with 80 additions and 0 deletions

24
ports/p/prt-get/Pkgfile Normal file
View File

@ -0,0 +1,24 @@
# Description: A utility to simplify ports searching/installing
# URL: https://crux.nu/gitweb/?p=tools/prt-get.git;a=summary
# Maintainer: Alexander Zhirov
name=prt-get
version=5.19.6
release=1
source=(
http://crux.nu/files/prt-get-$version.tar.xz
prt-get.conf
prt-get.aliases
)
build() {
cd ${name}-${version}
./configure --prefix=/usr
make
make DESTDIR=$PKG install
install -m 644 $SRC/prt-get.{conf,aliases} $PKG/etc/
install -d $PKG/var/lib/pkg
touch $PKG/var/lib/pkg/prt-get.locker
}

View File

@ -0,0 +1,4 @@
jdk8-bin: openjdk8
librsvg-compat: librsvg
mariadb: mysql
rust-bin: rust

View File

@ -0,0 +1,52 @@
###
### /etc/prt-get.conf: prt-get(8) configuration
###
## configure directories prt-get will source ports from
## note: the order matters: the package found first is used
prtdir /usr/ports/core
prtdir /usr/ports/opt
prtdir /usr/ports/xorg
## the following line enables the multilib compat-32 collection
#prtdir /usr/ports/compat-32
## the following line enables the user maintained contrib collection
#prtdir /usr/ports/contrib
## use mypackage from local directory
#prtdir /home/packages/build:mypackage
## log options
## logfile variables: %p=path to port dir,
## %n=port name, %v=version, %r=release
#writelog enabled # (enabled|disabled)
#logmode overwrite # (append|overwrite)
#rmlog_on_success yes # (no|yes)
logfile /var/log/pkgbuild/%n.log
## use alternate cache file (default: /var/lib/pkg/prt-get.cache)
#cachefile /mnt/nfs/cache
## print README information
#readme verbose # (verbose|compact|disabled)
## prefer higher versions in sysup / diff
#preferhigher no # (yes|no)
## use regexp search
#useregex no # (yes|no)
## run pre- and post-installs scripts; yes is equivalent to the
## --install-scripts option
runscripts yes # (no|yes)
### EXPERT SECTION ###
## alternative commands
#makecommand pkgmk
#addcommand pkgadd
#removecommand pkgrm
#runscriptcommand sh
# End of file