wok-next view pcmciautils/receipt @ rev 19703

Up bird (1.6.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 26 12:29:37 2017 +0200 (2017-04-26)
parents 77be6b57303b
children f463de72afe3
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 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 #WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/pcmcia/$TARBALL"
13 WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/utils/kernel/pcmcia/$TARBALL"
15 DEPENDS="sysfsutils eudev"
16 BUILD_DEPENDS="sysfsutils-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make
23 mkdir -p $install/sbin
24 cp -a pccardctl $install/sbin
26 mkdir -p $install/lib/udev
27 cp -a pcmcia-check-broken-cis pcmcia-socket-startup $install/lib/udev
29 mkdir -p $install/etc/udev/rules.d
30 cp -a $src/udev/60-pcmcia.rules $install/etc/udev/rules.d
32 mkdir -p $install/etc/pcmcia
33 cp -a $src/config/config.opts $install/etc/pcmcia
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders etc lib sbin
41 }
43 post_install()
44 {
45 tazpkg reconfigure eudev --root="$1/" --quiet
46 }