Contents of /trunk/core/eject/eject-2.1.5-r5.smage2
Parent Directory | Revision Log
Revision 3209 -
(show annotations)
(download)
Fri Oct 16 16:20:54 2009 UTC (14 years, 11 months ago) by niro
File size: 1523 byte(s)
Fri Oct 16 16:20:54 2009 UTC (14 years, 11 months ago) by niro
File size: 1523 byte(s)
auto added: ver bump to 2.1.5-r5
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 |