Magellan Linux

Contents of /branches/R11-stable/core/build-docbook-catalog/build-docbook-catalog-1.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10181 - (show annotations) (download)
Thu Jan 19 12:30:49 2012 UTC (12 years, 5 months ago) by niro
Original Path: trunk/core/build-docbook-catalog/build-docbook-catalog-1.5-r1.smage2
File size: 535 byte(s)
-import from magellan-next
1 # $Id$
2
3 PNAME="build-docbook-catalog"
4 PVER="1.5"
5 PBUILD="r1"
6
7 PCAT="app-text"
8
9 DESCRIPTION="DocBook XML catalog auto-updater."
10 HOMEPAGE="http://gentoo.org/"
11
12 DEPEND=""
13
14 SRCFILE="${PNAME}-${PVER}.bz2"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16
17 sminclude mtools
18
19 SRC_URI=( mirror://${PNAME}/${SRCFILE} )
20
21 # fake up2date uri
22 UP2DATE="echo ${PVER}"
23
24 src_prepare()
25 {
26 # unpack
27 munpack ${SRCFILE} ${SRCDIR} || die
28 }
29
30 src_install()
31 {
32 cd ${SRCDIR}
33 minstalldir /usr/bin || die
34 minstallexec ${SRCDIR}/${PNAME}-${PVER} /usr/bin/${PNAME} || die
35 }