Annotation of /smage/trunk/core/libsha1/libsha1-0.3-r1.smage2
Parent Directory | Revision Log
Revision 918 -
(hide annotations)
(download)
Tue Dec 7 21:28:48 2010 UTC (13 years, 5 months ago) by niro
File size: 909 byte(s)
Tue Dec 7 21:28:48 2010 UTC (13 years, 5 months ago) by niro
File size: 909 byte(s)
auto added: ver bump to 0.3-r1
1 | niro | 918 | # $Id: libsha1-0.2-r2.smage2 310 2010-04-27 23:56:59Z niro $ |
2 | |||
3 | PNAME="libsha1" | ||
4 | PVER="0.3" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="dev-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="libsha1 is a very tiny SHA1 implementation." | ||
11 | HOMEPAGE="http://github.com/dottedmag/libsha1/" | ||
12 | |||
13 | DEPEND=">= virtual/glibc" | ||
14 | |||
15 | sminclude mbuild multilib mcore-split | ||
16 | |||
17 | GIT_HASH="g3f976bb" | ||
18 | SRCFILE="dottedmag-${PNAME}-${PVER}-0-${GIT_HASH}.tar.gz" | ||
19 | SRCDIR="${BUILDDIR}/dottedmag-${PNAME}-${PVER}-0-${GIT_HASH}" | ||
20 | |||
21 | SRC_URI=( | ||
22 | http://download.github.com/${SRCFILE} | ||
23 | mirror://${PNAME}/${SRCFILE} | ||
24 | ) | ||
25 | |||
26 | UP2DATE="updatecmd ${HOMEPAGE}downloads | grep tarball | sed 's/.*\/tarball\/\(.*\)/\1/;q'" | ||
27 | |||
28 | src_prepare() | ||
29 | { | ||
30 | munpack ${SRCFILE} || die | ||
31 | # create configure | ||
32 | all-abis autoreconf --verbose --install --force || die | ||
33 | } | ||
34 | |||
35 | mcore_generic_src_install() | ||
36 | { | ||
37 | mmake DESTDIR=${BINDIR} install || die | ||
38 | |||
39 | # xorg wants libsha1.h as header file | ||
40 | mlink sha1.h /usr/include/libsha1.h || die | ||
41 | } |