2022-11-22 08:23:37 +01:00
|
|
|
# Template file for 'console-setup'
|
|
|
|
pkgname=console-setup
|
2023-01-05 14:01:05 +01:00
|
|
|
version=1.215
|
|
|
|
revision=1
|
2022-11-22 08:23:37 +01:00
|
|
|
hostmakedepends="perl"
|
|
|
|
depends="kbd ckbcomp"
|
|
|
|
short_desc="Console font and keymap setup program"
|
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="https://packages.debian.org/sid/console-setup"
|
|
|
|
distfiles="${DEBIAN_SITE}/main/c/console-setup/console-setup_${version}.tar.xz"
|
2023-01-05 14:01:05 +01:00
|
|
|
checksum=d04bcf1b514b5986fe47eb484e959cad99e1744faa29a5fc1b3d1ca0ef7b636b
|
2022-12-11 15:46:08 +01:00
|
|
|
conf_files="/etc/console-setup/console-setup
|
|
|
|
/etc/console-setup/keyboard"
|
2022-11-22 08:23:37 +01:00
|
|
|
|
|
|
|
post_extract() {
|
|
|
|
vsed -i -e '44s/if (/if (\$\#ARGV \< 0 \|\| /' Fonts/bdf2psf
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make etcdir=${DESTDIR}/etc prefix=${DESTDIR}/usr \
|
|
|
|
bootprefix=${DESTDIR}/usr \
|
|
|
|
install-common
|
|
|
|
}
|
|
|
|
|
|
|
|
bdf2psf_package() {
|
|
|
|
depends="perl"
|
|
|
|
short_desc="Generate console fonts from BDF source fonts"
|
|
|
|
pkg_install() {
|
|
|
|
cd Fonts
|
|
|
|
vbin bdf2psf
|
|
|
|
vman ../man/bdf2psf.1
|
|
|
|
for f in *.equivalents *.set; do
|
|
|
|
vinstall $f 0644 usr/share/bdf2psf
|
|
|
|
done
|
|
|
|
vcopy fontsets usr/share/bdf2psf
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ckbcomp_package() {
|
|
|
|
depends="perl"
|
|
|
|
short_desc="Compile a XKB keyboard description to a keymap for loadkeys"
|
|
|
|
pkg_install() {
|
|
|
|
make etcdir=${PKGDESTDIR}/etc prefix=${PKGDESTDIR}/usr \
|
|
|
|
install-ckbcomp
|
|
|
|
}
|
|
|
|
}
|