Magellan Linux

Contents of /branches/R11-unstable/extras/rhash/rhash-1.3.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32447 - (show annotations) (download)
Mon Apr 29 12:53:46 2019 UTC (5 years ago) by niro
File size: 824 byte(s)
-release branches/R11-unstable
1 # $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 }