Magellan Linux

Contents of /smage/branches/alx-0_9_0/hwsetup/hwsetup-1.2.7-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1271 - (show annotations) (download)
Tue Dec 29 12:48:37 2009 UTC (14 years, 4 months ago) by niro
File size: 1024 byte(s)
renamed branch_0.9.0 to alx-0_9_0
1 # $Header: /alx-cvs/smage-eglibc/hwsetup/hwsetup-1.2.7-r2.smage2,v 1.1 2008/06/04 17:33:57 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 alx
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 src_prepare()
30 {
31 munpack ${SRCFILE} || die
32 cd ${SRCDIR}
33 mpatch ${PNAME}-1.2-magellan.patch || die
34 mpatch ${PNAME}-1.2-xorg.patch || die
35 }
36
37 src_compile()
38 {
39 cd ${SRCDIR}
40 mmake || die
41 }
42
43 src_install()
44 {
45 cd ${SRCDIR}
46
47 minstall DESTDIR=${BINDIR} PREFIX=/usr MANDIR=/usr/share/man || die
48
49 # required for the magellan_sysconfig_path patch
50 mkeepdir /etc/sysconfig/hwsetup || die
51 }

Properties

Name Value
svn:keywords Id