Annotation of /trunk/extras/rhash/rhash-1.3.5-r1.smage2
Parent Directory | Revision Log
Revision 29879 -
(hide annotations)
(download)
Tue Oct 17 07:27:54 2017 UTC (6 years, 11 months ago) by niro
File size: 824 byte(s)
Tue Oct 17 07:27:54 2017 UTC (6 years, 11 months ago) by niro
File size: 824 byte(s)
auto added: ver bump to 1.3.5-r1
1 | niro | 29879 | # $Id$ |
2 | |||
3 | PNAME="rhash" | ||
4 | PVER="1.3.5" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="app-crypt" | ||
8 | |||
9 | DESCRIPTION="Utility for verifying hash sums of files." | ||
10 | HOMEPAGE="http://rhash.anz.ru/?l=en" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}-src.tar.gz" | ||
15 | SRCDIR="${BUILDDIR}/RHash-${PVER}" | ||
16 | |||
17 | sminclude multilib mbuild | ||
18 | |||
19 | SRC_URI=( | ||
20 | sourceforge://${PNAME}/${SRCFILE} | ||
21 | mirror://${PNAME}/${SRCFILE} | ||
22 | ) | ||
23 | |||
24 | UP2DATE="updatecmd_sourceforge ${PNAME}" | ||
25 | |||
26 | src_compile() | ||
27 | { | ||
28 | export ADDCFLAGS="${CFLAGS}" | ||
29 | export ADDLDFLAGS="${LDFLAGS}" | ||
30 | |||
31 | mmake build-shared || die | ||
32 | mmake -C librhash || die | ||
33 | } | ||
34 | |||
35 | src_check() | ||
36 | { | ||
37 | mmake test-shared || die | ||
38 | } | ||
39 | |||
40 | src_install() | ||
41 | { | ||
42 | mmake DESTDIR=${BINDIR} PREFIX=/usr install-shared || die | ||
43 | mmake -C librhash DESTDIR=${BINDIR} PREFIX=/usr LIBDIR=/usr/'$(mlibdir)' install-headers install-lib-shared install-so-link || die | ||
44 | minstalldocs COPYING || die | ||
45 | } |