wok-6.x annotate pcmciautils/receipt @ rev 23623
Update some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 14 16:56:01 2020 +0000 (2020-04-14) |
parents | eeba7ab1dffe |
children | 5d79829fa876 |
rev | line source |
---|---|
pankso@26 | 1 # SliTaz package receipt. |
pankso@26 | 2 |
pankso@26 | 3 PACKAGE="pcmciautils" |
slaxemulator@11059 | 4 VERSION="018" |
pankso@202 | 5 CATEGORY="system-tools" |
al@17992 | 6 SHORT_DESC="Utilities for inserting and removing PCMCIA cards" |
pankso@26 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL2" |
pankso@26 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20674 | 10 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/pcmcia/" |
pascal@20421 | 11 #WGET_URL="https://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL" |
slaxemulator@11060 | 12 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/kernel/pcmcia/$TARBALL" |
pankso@26 | 13 |
pascal@15375 | 14 DEPENDS="linux sysfsutils udev" |
pascal@15375 | 15 BUILD_DEPENDS="sysfsutils-dev bison flex" |
pascal@15375 | 16 |
pankso@26 | 17 # Rules to configure and make the package. |
pankso@26 | 18 compile_rules() |
pankso@26 | 19 { |
pankso@26 | 20 # We need lex... |
pascal@23623 | 21 make -j 1 |
pankso@26 | 22 } |
pankso@26 | 23 |
pankso@26 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@26 | 25 genpkg_rules() |
pankso@26 | 26 { |
pankso@26 | 27 mkdir -p $fs/sbin $fs/etc/udev/rules.d $fs/etc/pcmcia |
pankso@26 | 28 cp -a $src/pccardctl $fs/sbin |
pankso@26 | 29 cp -a $src/pcmcia-check-broken-cis $fs/sbin |
pankso@26 | 30 cp -a $src/pcmcia-socket-startup $fs/sbin |
pankso@26 | 31 # Udev rules and config. |
pankso@26 | 32 cp -a $src/udev/60-pcmcia.rules $fs/etc/udev/rules.d |
pankso@26 | 33 cp -a $src/config/config.opts $fs/etc/pcmcia |
pankso@2301 | 34 # Fix path |
pankso@2301 | 35 sed -i s#/lib/udev/pcmcia-check-broken-cis#/sbin/pcmcia-check-broken-cis# \ |
pankso@2301 | 36 $fs/etc/udev/rules.d/60-pcmcia.rules |
pankso@2301 | 37 sed -i s#/lib/udev/pcmcia-socket-startup#/sbin/pcmcia-socket-startup# \ |
pankso@2301 | 38 $fs/etc/udev/rules.d/60-pcmcia.rules |
pankso@26 | 39 } |
pascal@3175 | 40 |
pascal@3175 | 41 post_install() |
pascal@3175 | 42 { |
al@18964 | 43 echo |
pascal@18730 | 44 tazpkg reconfigure udev --root="$1" |
al@18964 | 45 echo |
pascal@3175 | 46 } |