Magellan Linux

Contents of /trunk/extras/ddcxinfo-knoppix/ddcxinfo-knoppix-0.6p8-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 7 months ago) by niro
File size: 1250 byte(s)
import repo
1 # $Header: /magellan-cvs/smage/ddcxinfo-knoppix/ddcxinfo-knoppix-0.6p8-r2.smage2,v 1.1 2008/04/10 18:19:21 niro Exp $
2
3 PNAME="ddcxinfo-knoppix"
4 PVER="0.6p8"
5 PBUILD="r2"
6
7 PCATEGORIE="sys-apps"
8 STATE="unstable"
9
10 DESCRIPTION="Probes monitors for their ddc information."
11 HOMEPAGE="http://knopper.net/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME}_${PVER/p/-}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER:0:3}"
17
18 sminclude mtools
19
20 SRC_URI=(
21 http://debian-knoppix.alioth.debian.org/sources/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-${PVER}-samsung-le40r51b.patch
24 )
25
26 src_prepare()
27 {
28 munpack ${SRCFILE} || die
29 cd ${SRCDIR}
30
31 # samsung LE40R51B TFT TV support
32 mpatch ${PNAME}-${PVER}-samsung-le40r51b.patch || die
33 }
34
35 src_compile()
36 {
37 cd ${SRCDIR}
38 mmake || die
39 }
40
41 src_install()
42 {
43 cd ${SRCDIR}
44
45 # needed directories
46 minstalldir /sbin || die
47 minstalldir /usr/sbin || die
48
49 # bins
50 minstallexec ddcxinfo-knoppix /sbin || die
51
52 minstallexec ddcxinfo /usr/sbin || die
53 minstallexec ddcprobe /usr/sbin || die
54 minstallexec modetest /usr/sbin || die
55 minstallexec svgamodes /usr/sbin || die
56
57 # man-pages
58 minstallman debian/ddcxinfo-knoppix.1 || die
59
60 # docs
61 minstalldocs COPYING README debian/changelog debian/copyright || die
62 }

Properties

Name Value
svn:keywords Id