wok-next view tp_smapi/receipt @ rev 16146
Move kompozer to undigest (not compiling for a long time and not realy maintained)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 21:49:28 2014 +0100 (2014-03-26) |
parents | 532ab3b57d40 |
children | 9d88fcaa58be |
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 }