Magellan Linux

Contents of /branches/branch-xorg18/core/eject/eject-2.1.5-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5192 - (show annotations) (download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 1 month ago) by niro
File size: 1523 byte(s)
created branch 'branch-xorg18'
1 # $Header: /magellan-cvs/smage/eject/eject-2.1.5-r3.smage2,v 1.1 2008/02/10 16:37:46 niro Exp $
2
3 PNAME="eject"
4 PVER="2.1.5"
5 PBUILD="r5"
6
7 PCATEGORIE="sys-apps"
8 STATE="unstable"
9
10 DESCRIPTION="Programm to eject disks from a disk drive."
11 HOMEPAGE="http://ca.geocities.com/jefftranter@rogers.com/eject.html"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 http://ca.geocities.com/jefftranter@rogers.com/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-${PVER}-xmalloc.patch
24 mirror://${PNAME}/${PNAME}-${PVER}-scsi-rdwr.patch
25 mirror://${PNAME}/${PNAME}-${PVER}-handle-spaces.patch
26 mirror://${PNAME}/${PNAME}-${PVER}-man-typo.patch
27 mirror://${PNAME}/${PNAME}-${PVER}-toggle.patch
28 )
29
30 UP2DATE="updatecmd ${HOMEPAGE} | grep 'Local copy' | sed 's/.*-\(.*\).t.*/\1/'"
31
32 # sudo chmod 750 /usr/bin/eject
33 # sudo chgrp plugdev /usr/bin/eject
34 # sudo chmod u+s /usr/bin/eject
35 #
36 # or add gentoo patches (the better way)
37
38 src_prepare()
39 {
40 munpack ${SRCFILE} || die
41 cd ${SRCDIR}
42
43 # malloc fixes
44 mpatch ${PNAME}-${PVER}-xmalloc.patch || die
45
46 # open scsi devices read+write to fix some issues (eg ipod nano)
47 mpatch ${PNAME}-${PVER}-scsi-rdwr.patch || die
48
49 # eject incorrectly handles mount points with spaces in name
50 mpatch ${PNAME}-${PVER}-handle-spaces.patch || die
51
52 # fix a glitch in the man page
53 mpatch ${PNAME}-${PVER}-man-typo.patch || die
54
55 # eject -T does not work with certain drives
56 mpatch ${PNAME}-${PVER}-toggle.patch || die
57 }

Properties

Name Value
svn:keywords Id