Annotation of /smage/trunk/core/build-docbook-catalog/build-docbook-catalog-1.5-r4.smage2
Parent Directory | Revision Log
Revision 10290 -
(hide annotations)
(download)
Thu Aug 17 12:31:06 2017 UTC (6 years, 9 months ago) by niro
File size: 819 byte(s)
Thu Aug 17 12:31:06 2017 UTC (6 years, 9 months ago) by niro
File size: 819 byte(s)
auto added: ver bump to 1.5-r4
1 | niro | 10290 | # $Id$ |
2 | |||
3 | PNAME="build-docbook-catalog" | ||
4 | PVER="1.5" | ||
5 | PBUILD="r4" | ||
6 | |||
7 | PCAT="app-text" | ||
8 | |||
9 | DESCRIPTION="DocBook XML catalog auto-updater." | ||
10 | HOMEPAGE="http://gentoo.org/" | ||
11 | |||
12 | DEPEND=">= dev-libs/libxml2-2.9" | ||
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 | |||
36 | # busybox compat | ||
37 | sed -i \ | ||
38 | -e 's:egrep --only-matching --max-count=1:grep -m 1 -o -e:' \ | ||
39 | -e 's:egrep --only-matching:grep -o -e:' \ | ||
40 | ${BINDIR}/usr/bin/${PNAME} || die | ||
41 | } | ||
42 | |||
43 | # fixme: add support for xml-dtd-simple ? -> https://bugs.gentoo.org/290680?id=290680 |