mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
Merge branch 'master' of git://github.com/voidlinux/xbps-packages
This commit is contained in:
commit
a7d92a526c
10 changed files with 29 additions and 44 deletions
|
@ -1,30 +0,0 @@
|
||||||
# This hook compresses manual pages with gzip(1).
|
|
||||||
|
|
||||||
hook() {
|
|
||||||
local fpattern="s|${PKGDESTDIR}||g;s|^\./$||g;/^$/d"
|
|
||||||
local j f dirat lnkat newlnk
|
|
||||||
|
|
||||||
if [ ! -d "${PKGDESTDIR}/usr/share/man" ]; then
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
find ${PKGDESTDIR}/usr/share/man -type f -follow | while read f
|
|
||||||
do
|
|
||||||
j=$(echo "$f"|sed -e "$fpattern")
|
|
||||||
[ "$j" = "" ] && continue
|
|
||||||
if $(echo "$j"|grep -q '.*.gz$'); then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
if [ -h ${PKGDESTDIR}/"$j" ]; then
|
|
||||||
dirat=$(dirname "$j")
|
|
||||||
lnkat=$(readlink ${PKGDESTDIR}/"$j")
|
|
||||||
newlnk=$(basename "$j")
|
|
||||||
rm -f ${PKGDESTDIR}/"$j"
|
|
||||||
cd ${PKGDESTDIR}/"$dirat"
|
|
||||||
ln -s "${lnkat}".gz "${newlnk}".gz
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
echo " Compressing manpage: $j..."
|
|
||||||
gzip -nfq9 ${PKGDESTDIR}/"$j"
|
|
||||||
done
|
|
||||||
}
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'acl'
|
# Template file for 'acl'
|
||||||
pkgname=acl
|
pkgname=acl
|
||||||
version=2.2.52
|
version=2.2.52
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
|
configure_args="--libdir=/usr/lib --libexecdir=/usr/lib"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'alsa-utils'.
|
# Template build file for 'alsa-utils'.
|
||||||
pkgname=alsa-utils
|
pkgname=alsa-utils
|
||||||
version=1.0.27.2
|
version=1.0.27.2
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-systemdsystemunitdir=/usr/lib/systemd/system
|
configure_args="--with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||||
--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
|
--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'asciidoc'
|
# Template file for 'asciidoc'
|
||||||
pkgname=asciidoc
|
pkgname=asciidoc
|
||||||
version=8.6.9
|
version=8.6.9
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="python"
|
hostmakedepends="python"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'man-pages'
|
# Template file for 'man-pages'
|
||||||
pkgname=man-pages
|
pkgname=man-pages
|
||||||
version=3.61
|
version=3.62
|
||||||
revision=1
|
revision=1
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
short_desc="Linux Documentation Project (LDP) manual pages"
|
short_desc="Linux Documentation Project (LDP) manual pages"
|
||||||
|
@ -8,7 +8,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://man7.org/linux/man-pages/index.html"
|
homepage="http://man7.org/linux/man-pages/index.html"
|
||||||
distfiles="${KERNEL_SITE}/docs/man-pages/$pkgname-$version.tar.xz"
|
distfiles="${KERNEL_SITE}/docs/man-pages/$pkgname-$version.tar.xz"
|
||||||
checksum=c1b0608cc66fe537d055983b101182326edf5ec93f1b2579d069d20920cf01e2
|
checksum=f3d550b1ecbdcd92c07d848e4196c1233dd1244c4fb7e5a86d7fb29fed5fb6df
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make all prefix=${DESTDIR}/usr
|
make all prefix=${DESTDIR}/usr
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
# Template file for 'mdocml'
|
# Template file for 'mdocml'
|
||||||
pkgname=mdocml
|
pkgname=mdocml
|
||||||
version=1.12.3
|
version=1.12.3
|
||||||
revision=2
|
revision=3
|
||||||
makedepends="db185"
|
makedepends="db185"
|
||||||
replaces="groff>=0 man-db>=0"
|
replaces="groff>=0 man-db>=0"
|
||||||
provides="roff-${version}_1 apropos-${version}_1 whatis-${version}_1"
|
|
||||||
short_desc="mdoc macro compiler"
|
short_desc="mdoc macro compiler"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="ISC"
|
license="ISC"
|
||||||
|
@ -24,8 +23,8 @@ do_install() {
|
||||||
# remove devel stuff.
|
# remove devel stuff.
|
||||||
rm -rf ${DESTDIR}/usr/{include,lib}
|
rm -rf ${DESTDIR}/usr/{include,lib}
|
||||||
|
|
||||||
# Install apropos, whatis and mandocdb.
|
# Install apropos, catman, mandocdb and whatis.
|
||||||
for f in apropos whatis mandocdb; do
|
for f in apropos catman whatis mandocdb; do
|
||||||
vinstall ${f} 755 usr/bin
|
vinstall ${f} 755 usr/bin
|
||||||
if [ -f ${f}.1 ]; then
|
if [ -f ${f}.1 ]; then
|
||||||
vinstall ${f}.1 644 usr/share/man/man1
|
vinstall ${f}.1 644 usr/share/man/man1
|
||||||
|
|
17
srcpkgs/openbsd-man/template
Normal file
17
srcpkgs/openbsd-man/template
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Template file for 'openbsd-man'
|
||||||
|
pkgname=openbsd-man
|
||||||
|
version=20140313
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
make_install_args="ETCDIR=/etc"
|
||||||
|
short_desc="The OpenBSD man(1) utility"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="BSD"
|
||||||
|
homepage="http://www.openbsd.org"
|
||||||
|
|
||||||
|
replaces="man-db>=0"
|
||||||
|
conf_files="/etc/man.conf"
|
||||||
|
|
||||||
|
do_fetch() {
|
||||||
|
git clone git://github.com/voidlinux/openbsd-man ${pkgname}-${version}
|
||||||
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
pkgname=openssl
|
pkgname=openssl
|
||||||
_openssl_version=1.0.1
|
_openssl_version=1.0.1
|
||||||
version=${_openssl_version}f
|
version=${_openssl_version}f
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
short_desc="Secure Socket Layer and cryptographic library - runtime utilities"
|
short_desc="Secure Socket Layer and cryptographic library - runtime utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -23,7 +23,6 @@ make_dirs="
|
||||||
/etc/ssl/certs 0755 root root
|
/etc/ssl/certs 0755 root root
|
||||||
/etc/ssl/private 0750 root root"
|
/etc/ssl/private 0750 root root"
|
||||||
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
local _opts
|
local _opts
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'xz'
|
# Template file for 'xz'
|
||||||
pkgname=xz
|
pkgname=xz
|
||||||
version=5.0.5
|
version=5.0.5
|
||||||
revision=2
|
revision=3
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
replaces="chroot-xz>=0"
|
replaces="chroot-xz>=0"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -21,7 +21,7 @@ liblzma_package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
liblzma-devel_package() {
|
liblzma-devel_package() {
|
||||||
depends="liblzma>=${version}"
|
depends="liblzma>=${version}_${revision}"
|
||||||
short_desc="XZ-format compression library - development files"
|
short_desc="XZ-format compression library - development files"
|
||||||
replaces="xz-devel>=0"
|
replaces="xz-devel>=0"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'zlib'
|
# Template build file for 'zlib'
|
||||||
pkgname=zlib
|
pkgname=zlib
|
||||||
version=1.2.8
|
version=1.2.8
|
||||||
revision=3
|
revision=4
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=configure
|
build_style=configure
|
||||||
short_desc="A compression/decompression Library"
|
short_desc="A compression/decompression Library"
|
||||||
|
|
Loading…
Add table
Reference in a new issue