Contents of /branches/magellan-next/core/eject/eject-2.1.5-r6.smage2
Parent Directory | Revision Log
Revision 6177 -
(show annotations)
(download)
Thu Aug 19 18:31:16 2010 UTC (14 years, 1 month ago) by niro
File size: 1434 byte(s)
Thu Aug 19 18:31:16 2010 UTC (14 years, 1 month ago) by niro
File size: 1434 byte(s)
auto added: ver bump to 2.1.5-r6
1 | # $Id$ |
2 | |
3 | PNAME="eject" |
4 | PVER="2.1.5" |
5 | PBUILD="r6" |
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 | } |