wok-4.x annotate kbd/receipt @ rev 12477
Up openssl 1.1.1n (bump packages curl, git, wget, python), up cherokee 1.2.104 and bdeps (automake, openldap, cyrus-sasl)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Apr 02 14:34:44 2023 +0000 (20 months ago) |
parents | b7319995b37e |
children |
rev | line source |
---|---|
pankso@708 | 1 # SliTaz package receipt. |
pankso@708 | 2 |
pankso@708 | 3 PACKAGE="kbd" |
slaxemulator@9850 | 4 VERSION="1.15.3" |
pankso@708 | 5 CATEGORY="system-tools" |
pankso@708 | 6 SHORT_DESC="Keyboard maping definitions and tools." |
shann@12471 | 7 BUILD_DEPENDS="flex automake" |
pankso@708 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@708 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@708 | 10 WEB_SITE="http://www.kernel.org/pub/linux/utils/kbd/" |
shann@12471 | 11 #WGET_URL="http://www.kernel.org/pub/linux/utils/kbd/$TARBALL" |
shann@12471 | 12 WGET_URL="http://mirror.slitaz.org/sources/packages-4.0/k/$TARBALL" |
jozee@4942 | 13 TAGS="keyboard" |
pankso@708 | 14 |
pankso@708 | 15 # Rules to configure and make the package. |
pankso@708 | 16 compile_rules() |
pankso@708 | 17 { |
pankso@708 | 18 cd $src |
slaxemulator@9850 | 19 patch -Np1 -i $stuff/fix-es.po.patch |
gokhlayeh@11573 | 20 ./configure --datadir=/usr/share/kbd $CONFIGURE_ARGS && |
gokhlayeh@11573 | 21 make && |
slaxemulator@9850 | 22 make install |
pankso@708 | 23 } |
pankso@708 | 24 |
pankso@708 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@708 | 26 genpkg_rules() |
pankso@708 | 27 { |
pankso@708 | 28 mkdir -p $fs/usr/share |
pankso@708 | 29 |
pankso@708 | 30 # Copy all kbd files (should we split fonts ?) and remove the one |
pankso@708 | 31 # provided by: kbd-base. |
pankso@708 | 32 cp -a $_pkg/usr/share/kbd $fs/usr/share |
pankso@708 | 33 rm -rf $fs/usr/share/kbd/keymaps/i386 |
pankso@708 | 34 |
pankso@708 | 35 # Tools |
pankso@708 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@708 | 37 } |
pankso@708 | 38 |
pascal@8878 | 39 # Overlap busybox |
pascal@8878 | 40 pre_install() |
pascal@8878 | 41 { |
pascal@8878 | 42 rm -f $1/usr/bin/deallocvt |
pascal@8878 | 43 rm -f $1/usr/bin/chvt |
pascal@8878 | 44 rm -f $1/usr/bin/setkeycodes |
pascal@8878 | 45 rm -f $1/usr/bin/openvt |
pascal@8878 | 46 rm -f $1/usr/bin/kbd_mode |
pascal@8878 | 47 } |
pascal@8878 | 48 |
pascal@8878 | 49 post_remove() |
pascal@8878 | 50 { |
slaxemulator@9850 | 51 ln -s /bin/busybox $1/usr/bin/deallocvt |
slaxemulator@9850 | 52 ln -s /bin/busybox $1/usr/bin/chvt |
slaxemulator@9850 | 53 ln -s /bin/busybox $1/usr/bin/setkeycodes |
slaxemulator@9850 | 54 ln -s /bin/busybox $1/usr/bin/openvt |
slaxemulator@9850 | 55 ln -s /bin/busybox $1/usr/bin/kbd_mode |
pascal@8878 | 56 } |