wok-next view tp_smapi/receipt @ rev 20859
Update ALSA stack (1.1.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 27 13:35:43 2018 +0300 (2018-06-27) |
parents | 9d88fcaa58be |
children | cd7906120828 |
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="domcox@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/evgeni/tp_smapi"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/${PACKAGE/_/-}/$VERSION.tar.gz"
14 BUILD_DEPENDS="linux-module-headers linux-source"
16 compile_rules() {
17 sed -i "s/uname -r/echo $kvers-slitaz/" Makefile
19 make modules HDAPS=1 || return 1
21 MOD_DIR=lib/modules/$kvers-slitaz/extra
22 mkdir -p $install/$MOD_DIR/
23 cp -a $src/*.ko $install/$MOD_DIR/
24 }
26 genpkg_rules() {
27 copy @std
28 }
30 post_install() {
31 chroot "$1/" depmod -a
32 }