Magellan Linux

Annotation of /branches/R11-unstable/extras/bcache-tools/bcache-tools-1.0.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32072 - (hide annotations) (download)
Fri Mar 22 23:28:17 2019 UTC (5 years, 1 month ago) by niro
Original Path: trunk/extras/bcache-tools/bcache-tools-1.0.8-r1.smage2
File size: 716 byte(s)
auto added: ver bump to 1.0.8-r1
1 niro 32071 # $Id$
2    
3     PNAME="bcache-tools"
4     PVER="1.0.8"
5     PBUILD="r1"
6    
7     PCAT="sys-fs"
8    
9     DESCRIPTION="Userspace tools Linux kernel block layer cache."
10     HOMEPAGE="http://bcache.evilpiepirate.org/"
11    
12     DEPEND=">= sys-apps/util-linux-2"
13    
14     SRCFILE="v${PVER}.tar.gz"
15     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
16    
17     sminclude mbuild
18    
19     SRC_URI=(
20     https://github.com/g2p/${PNAME}/archive/${SRCFILE}
21     mirror://${PNAME}/${SRCFILE}
22     )
23    
24     UP2SEPERATOR="v"
25     UP2DATE="updatecmd https://github.com/g2p/bcache-tools/releases | highesttarball gz"
26    
27 niro 32072 src_prepare()
28     {
29     munpack ${SRCFILE} || die
30     cd ${SRCDIR}
31    
32     # fix CFLAGS and fixed compile issues
33     sed -i -e '/^CFLAGS/s:-O2::' -e '/^CFLAGS/s:-g:-std=gnu89:' Makefile || die
34     }
35    
36 niro 32071 src_compile()
37     {
38     cd ${SRCDIR}
39     mmake || die
40     }