wok view tp_smapi/receipt @ rev 20348

pinentry update: 0.9.7 (2015 Dec) -> 1.1.0 (2017 Dec)
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 10:42:55 2018 +0000 (2018-06-09)
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 }