Contents of /trunk/extras/tdb/tdb-1.3.4-r1.smage2
Parent Directory | Revision Log
Revision 23584 -
(show annotations)
(download)
Fri Jan 16 08:42:05 2015 UTC (9 years, 5 months ago) by niro
File size: 771 byte(s)
Fri Jan 16 08:42:05 2015 UTC (9 years, 5 months ago) by niro
File size: 771 byte(s)
auto added: ver bump to 1.3.4-r1
1 | # $Id$ |
2 | |
3 | PNAME="tdb" |
4 | PVER="1.3.4" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="dev-db" |
8 | |
9 | DESCRIPTION="A Trivia Database similar to GDBM but allows simultaneous commits." |
10 | HOMEPAGE="http://tdb.samba.org/" |
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 | http://www.samba.org/ftp/${PNAME}/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | mirror://${PNAME}/${PNAME}-${PVER}-include-stdbool.h-in-tdb.h.patch |
23 | ) |
24 | |
25 | UP2DATE="updatecmd http://www.samba.org/ftp/${PNAME}/ | grep '/${PNAME}-' | highesttarball gz" |
26 | |
27 | src_prepare() |
28 | { |
29 | munpack ${SRCFILE} || die |
30 | |
31 | # fix a missing include |
32 | mpatch ${PNAME}-${PVER}-include-stdbool.h-in-tdb.h.patch || die |
33 | } |
34 | |
35 | src_compile() |
36 | { |
37 | mconfigure --disable-rpath --disable-python || die |
38 | mmake || die |
39 | } |