wok-next view tp_smapi/receipt @ rev 21711
updated gsmartcontrol (0.9.0 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 06 16:19:10 2020 +0100 (2020-07-06) |
parents | cd7906120828 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tp_smapi"
4 VERSION="0.42"
5 CATEGORY="base-system"
6 SHORT_DESC="IBM ThinkPad SMAPI BIOS driver"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/evgeni/tp_smapi"
10 REPOLOGY="tp-smapi"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/${PACKAGE/_/-}/$VERSION.tar.gz"
15 BUILD_DEPENDS="linux-module-headers linux-source"
17 compile_rules() {
18 sed -i "s/uname -r/echo $kvers-slitaz/" Makefile
20 make modules HDAPS=1 || return 1
22 MOD_DIR=lib/modules/$kvers-slitaz/extra
23 mkdir -p $install/$MOD_DIR/
24 cp -a $src/*.ko $install/$MOD_DIR/
25 }
27 genpkg_rules() {
28 copy @std
29 }
31 post_install() {
32 chroot "$1/" depmod -a
33 }