/[gentoo-x86]/app-laptop/acerhk/acerhk-0.5.35.ebuild
Gentoo

Diff of /app-laptop/acerhk/acerhk-0.5.35.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/Attic/acerhk-0.5.35.ebuild,v 1.4 2007/07/01 13:26:32 jurek Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-laptop/acerhk/Attic/acerhk-0.5.35.ebuild,v 1.5 2008/01/30 23:08:09 jurek Exp $
4 4
5inherit linux-mod 5inherit linux-mod
6 6
7DESCRIPTION="Hotkey driver for some Acer and Acer-like laptops" 7DESCRIPTION="Hotkey driver for some Acer and Acer-like laptops"
8HOMEPAGE="http://www.cakey.de/acerhk/" 8HOMEPAGE="http://www.cakey.de/acerhk/"
16BUILD_TARGETS="all" 16BUILD_TARGETS="all"
17 17
18src_unpack() 18src_unpack()
19{ 19{
20 unpack ${A} 20 unpack ${A}
21 cd ${S} 21 cd "${S}"
22
23 if [[ ${KV_MINOR} -eq 6 ]] && [[ ${KV_PATCH} -ge 24 ]]; then
24 sed -i -e \
25 's#^CFLAGS#EXTRA_CFLAGS#g' \
26 Makefile \
27 || die "sed failed"
28 fi
22} 29}
23 30
24pkg_setup() { 31pkg_setup() {
25 linux-mod_pkg_setup 32 linux-mod_pkg_setup
26 BUILD_PARAMS="KERNELSRC=${KV_DIR} KERNELVERSION=${KV_FULL}" 33 BUILD_PARAMS="KERNELSRC=${KV_DIR} KERNELVERSION=${KV_FULL}"
27} 34}
28 35
29src_install() { 36src_install() {
30 linux-mod_src_install 37 linux-mod_src_install
31 dodoc README COPYING NEWS 38 dodoc README NEWS
32 docinto doc 39 docinto doc
33 dodoc doc/* 40 dodoc doc/*
34} 41}
35 42
36pkg_postinst() { 43pkg_postinst() {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20