wok-next view tp_smapi/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
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 }