wok view tp_smapi/receipt @ rev 20252
pulseaudio: force 32 bits arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 18:38:37 2018 +0100 (2018-03-12) |
parents | 532ab3b57d40 |
children | 922f061231c2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tp_smapi"
4 VERSION="0.41"
5 CATEGORY="base-system"
6 SHORT_DESC="IBM ThinkPad SMAPI BIOS driver"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/evgeni/tp_smapi"
11 WGET_URL="https://github.com/downloads/evgeni/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="linux-module-headers linux-source wget"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i "s/uname -r/echo $kvers-slitaz/" Makefile
20 make modules HDAPS=1
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 MOD_DIR=lib/modules/$kvers-slitaz/extra
27 mkdir -p $fs/$MOD_DIR
28 cp -a $src/*.ko $fs/$MOD_DIR
29 }
31 post_install()
32 {
33 chroot "$1/" depmod -a
34 }