wok-next view tp_smapi/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }