wok-6.x view tp_smapi/receipt @ rev 14640

Xorg. xorg-libXt: add glib-dev as bdeps; xorg-libXpm: reformat, move binaries to xorg-libXpm-util new package; xorg-libXaw: up 1.0.11.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 02 16:41:49 2013 +0000 (2013-06-02)
parents
children 23c3aed67cd9
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 BUILD_DEPENDS="linux-module-headers linux-source wget"
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 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i "s/uname -r/echo $kvers-slitaz/" Makefile
18 make modules HDAPS=1
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 MOD_DIR=lib/modules/$kvers-slitaz/extra
25 mkdir -p $fs/$MOD_DIR
26 cp -a $src/*.ko $fs/$MOD_DIR
27 }
29 post_install()
30 {
31 chroot "$1/" depmod -a
32 }