Magellan Linux

Annotation of /smage/trunk/core/libsha1/libsha1-0.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 246 - (hide annotations) (download)
Mon Apr 26 23:38:28 2010 UTC (14 years ago) by niro
File size: 829 byte(s)
-fixed header
1 niro 246 # $Id$
2    
3     PNAME="libsha1"
4     PVER="0.2"
5     PBUILD="r2"
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     sminclude mbuild multilib mcore-split
14    
15     DEPEND=">= virtual/glibc"
16    
17     SRCFILE="dottedmag-${PNAME}-${PVER}-0-g4973533.tar.gz"
18     SRCDIR="${BUILDDIR}/dottedmag-${PNAME}-${PVER}-0-g4973533"
19    
20     SRC_URI=(
21     http://download.github.com/${SRCFILE}
22     mirror://${PNAME}/${SRCFILE}
23     )
24    
25     UP2DATE="updatecmd ${HOMEPAGE}downloads | grep tarball | sed 's/.*\/tarball\/\(.*\)/\1/;q'"
26    
27     src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     # create configure
31     all-abis autoreconf --verbose --install --force || die
32     }
33    
34     mcore_generic_src_install()
35     {
36     mmake DESTDIR=${BINDIR} install || die
37    
38     # xorg wants libsha1.h as header file
39     mlink sha1.h /usr/include/libsha1.h || die
40     }

Properties

Name Value
svn:keywords Id