Contents of /branches/branch-xorg18/core/dosfstools/dosfstools-2.11-r6.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1149 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1149 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="dosfstools" |
4 | PVER="2.11" |
5 | PBUILD="r6" |
6 | |
7 | PCATEGORIE="sys-fs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Tools to handle DOS filesystems." |
11 | HOMEPAGE="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | SDEPEND=">= sys-apps/sed-4" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.src.tar.gz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | SRC_URI=( |
20 | ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/errno.patch |
23 | mirror://${PNAME}/${PNAME}-2.10-2.6.headers.patch |
24 | ) |
25 | |
26 | UP2DATE="updatecmd http://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/ | lasttarball gz | sed 's:.src::'" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # some compile issues and kernel-2.6 compats |
34 | mpatch errno.patch || die |
35 | mpatch ${PNAME}-2.10-2.6.headers.patch || die |
36 | |
37 | # set bin/sbin prefix to /usr |
38 | sed -i "s:PREFIX\ \=:PREFIX\ \=\ \/usr:" Makefile || die |
39 | |
40 | # correct man path to /usr/share |
41 | sed -i "s:\/usr\/man:\/share\/man:" Makefile || die |
42 | } |
43 | |
44 | src_compile() |
45 | { |
46 | cd ${SRCDIR} |
47 | mmake || die |
48 | } |
49 | |
50 | src_install() |
51 | { |
52 | cd ${SRCDIR} |
53 | |
54 | mmake PREFIX=${BINDIR}/usr install || die |
55 | minstalldocs CHANGES TODO || die |
56 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |