Magellan Linux

Contents of /trunk/core/file/file-5.24-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26778 - (show annotations) (download)
Mon Jul 13 07:55:51 2015 UTC (9 years, 2 months ago) by niro
File size: 704 byte(s)
-fixed patch version
1 # $Id$
2
3 PNAME="file"
4 PVER="5.24"
5 PBUILD="r1"
6
7 PCAT="sys-apps"
8
9 DESCRIPTION="Program to identify a file's format by scanning binary data for patterns."
10 HOMEPAGE="ftp://ftp.astron.com/pub/file/"
11
12 DEPEND=">= virtual/glibc"
13
14 SRCFILE="${PNAME}-${PVER}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude multilib
18
19 SRC_URI=(
20 ftp://ftp.astron.com/pub/${PNAME}/${SRCFILE}
21 #ftp://ftp.gw.com/mirrors/pub/unix/${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${PNAME}-5.23-fix-bug-with-long-options.patch
24 )
25
26 UP2DATE="updatecmd ${HOMEPAGE} | highesttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31
32 # upstream patches
33 mpatch ${PNAME}-5.23-fix-bug-with-long-options.patch || die
34 }