wok view pcmciautils/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 86790a278e70
children d443265acbc1
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmciautils"
4 VERSION="018"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for inserting and removing PCMCIA cards"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/pcmcia/"
11 #WGET_URL="https://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL"
12 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/kernel/pcmcia/$TARBALL"
14 DEPENDS="linux sysfsutils udev"
15 BUILD_DEPENDS="sysfsutils-dev bison flex"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # We need lex...
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/sbin $fs/etc/udev/rules.d $fs/etc/pcmcia
28 cp -a $src/pccardctl $fs/sbin
29 cp -a $src/pcmcia-check-broken-cis $fs/sbin
30 cp -a $src/pcmcia-socket-startup $fs/sbin
31 # Udev rules and config.
32 cp -a $src/udev/60-pcmcia.rules $fs/etc/udev/rules.d
33 cp -a $src/config/config.opts $fs/etc/pcmcia
34 # Fix path
35 sed -i s#/lib/udev/pcmcia-check-broken-cis#/sbin/pcmcia-check-broken-cis# \
36 $fs/etc/udev/rules.d/60-pcmcia.rules
37 sed -i s#/lib/udev/pcmcia-socket-startup#/sbin/pcmcia-socket-startup# \
38 $fs/etc/udev/rules.d/60-pcmcia.rules
39 }
41 post_install()
42 {
43 echo
44 tazpkg reconfigure udev --root="$1"
45 echo
46 }