Contents of /trunk/core/hwsetup/hwsetup-1.4.1-r1.smage2
Parent Directory | Revision Log
Revision 1350 -
(show annotations)
(download)
Sun May 3 18:35:43 2009 UTC (15 years ago) by niro
File size: 1041 byte(s)
Sun May 3 18:35:43 2009 UTC (15 years ago) by niro
File size: 1041 byte(s)
auto added: ver bump to 1.4.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="hwsetup" |
4 | PLEVEL="1" |
5 | PVER="1.4.${PLEVEL}" |
6 | PBUILD="r1" |
7 | |
8 | PCATEGORIE="sys-apps" |
9 | STATE="unstable" |
10 | |
11 | DESCRIPTION="hwsetup" |
12 | HOMEPAGE="http://www.knopper.net" |
13 | |
14 | DEPEND=">= virtual/glibc" |
15 | SDEPEND=">= sys-apps/kudzu-1.2" |
16 | |
17 | SRCFILE="${PNAME}_${PVER/.${PLEVEL}/}-${PLEVEL}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}" |
19 | |
20 | sminclude mtools |
21 | |
22 | SRC_URI=( |
23 | http://debian-knoppix.alioth.debian.org/sources/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${PNAME}-1.2-magellan.patch |
26 | mirror://${PNAME}/${PNAME}-1.2-xorg.patch |
27 | ) |
28 | |
29 | UP2DATE="updatecmd http://debian-knoppix.alioth.debian.org/sources | grep ${PNAME}.*.tar | sed -n 's/.*_\(.*\).tar.*/\1/;s/-/./g;$ p'" |
30 | |
31 | src_prepare() |
32 | { |
33 | munpack ${SRCFILE} || die |
34 | cd ${SRCDIR} |
35 | mpatch ${PNAME}-1.2-magellan.patch || die |
36 | mpatch ${PNAME}-1.2-xorg.patch || die |
37 | } |
38 | |
39 | src_compile() |
40 | { |
41 | cd ${SRCDIR} |
42 | mmake || die |
43 | } |
44 | |
45 | src_install() |
46 | { |
47 | cd ${SRCDIR} |
48 | |
49 | minstall DESTDIR=${BINDIR} PREFIX=/usr MANDIR=/usr/share/man || die |
50 | |
51 | # required for the magellan_sysconfig_path patch |
52 | mkeepdir /etc/sysconfig/hwsetup || die |
53 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |