Magellan Linux

Contents of /trunk/deprecated/ddcxinfo-knoppix/ddcxinfo-knoppix-0.6p8-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3405 - (show annotations) (download)
Wed Oct 21 16:11:29 2009 UTC (14 years, 7 months ago) by niro
File size: 1304 byte(s)
-moved to 'deprecated'
1 # $Id$
2
3 PNAME="ddcxinfo-knoppix"
4 PVER="0.6p8"
5 PBUILD="r3"
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 mirror://${PNAME}/${PNAME}-${PVER}-lrmi-build-fix.patch
25 )
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # samsung LE40R51B TFT TV support
33 mpatch ${PNAME}-${PVER}-samsung-le40r51b.patch || die
34
35 # fix build of lrmi.c with newer glibc/linux-headers
36 mpatch ${PNAME}-${PVER}-lrmi-build-fix.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 # needed directories
50 minstalldir /sbin || die
51 minstalldir /usr/sbin || die
52
53 # bins
54 minstallexec ddcxinfo-knoppix /sbin || die
55
56 minstallexec ddcxinfo /usr/sbin || die
57 minstallexec ddcprobe /usr/sbin || die
58 minstallexec modetest /usr/sbin || die
59 minstallexec svgamodes /usr/sbin || die
60
61 # man-pages
62 minstallman debian/ddcxinfo-knoppix.1 || die
63
64 # docs
65 minstalldocs COPYING README debian/changelog debian/copyright || die
66 }

Properties

Name Value
svn:keywords Id