Contents of /trunk/core/dosfstools/dosfstools-2.11-r4.smage2
Parent Directory | Revision Log
Revision 1358 -
(show annotations)
(download)
Sun May 3 20:35:32 2009 UTC (15 years ago) by niro
File size: 1137 byte(s)
Sun May 3 20:35:32 2009 UTC (15 years ago) by niro
File size: 1137 byte(s)
-moved to 'core'
1 | # $Header: /magellan-cvs/smage/dosfstools/dosfstools-2.11-r4.smage2,v 1.1 2008/04/10 18:18:59 niro Exp $ |
2 | |
3 | PNAME="dosfstools" |
4 | PVER="2.11" |
5 | PBUILD="r4" |
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 | src_prepare() |
27 | { |
28 | munpack ${SRCFILE} || die |
29 | cd ${SRCDIR} |
30 | |
31 | # some compile issues and kernel-2.6 compats |
32 | mpatch errno.patch || die |
33 | mpatch ${PNAME}-2.10-2.6.headers.patch || die |
34 | |
35 | # set bin/sbin prefix to /usr |
36 | sed -i "s:PREFIX\ \=:PREFIX\ \=\ \/usr:" Makefile || die |
37 | |
38 | # correct man path to /usr/share |
39 | sed -i "s:\/usr\/man:\/share\/man:" Makefile || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | cd ${SRCDIR} |
45 | mmake || die |
46 | } |
47 | |
48 | src_install() |
49 | { |
50 | cd ${SRCDIR} |
51 | |
52 | mmake PREFIX=${BINDIR}/usr install || die |
53 | minstalldocs CHANGES TODO || die |
54 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |