Contents of /trunk/core/hwsetup/hwsetup-1.2.7-r2.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1154 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 1154 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/hwsetup/hwsetup-1.2.7-r2.smage2,v 1.1 2008/04/09 21:53:32 niro Exp $ |
2 | |
3 | PNAME="hwsetup" |
4 | PLEVEL="7" |
5 | PVER="1.2.${PLEVEL}" |
6 | PBUILD="r2" |
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}-${PVER/.${PLEVEL}/}" |
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 |