Contents of /branches/R11-unstable/extras/bcache-tools/bcache-tools-1.0.8-r1.smage2
Parent Directory | Revision Log
Revision 32073 -
(show annotations)
(download)
Fri Mar 22 23:28:55 2019 UTC (5 years, 1 month ago) by niro
Original Path: trunk/extras/bcache-tools/bcache-tools-1.0.8-r1.smage2
File size: 767 byte(s)
Fri Mar 22 23:28:55 2019 UTC (5 years, 1 month ago) by niro
Original Path: trunk/extras/bcache-tools/bcache-tools-1.0.8-r1.smage2
File size: 767 byte(s)
auto added: ver bump to 1.0.8-r1
1 | # $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 | msetfeature "!check" # no check target in makefile |
18 | sminclude mbuild |
19 | |
20 | SRC_URI=( |
21 | https://github.com/g2p/${PNAME}/archive/${SRCFILE} |
22 | mirror://${PNAME}/${SRCFILE} |
23 | ) |
24 | |
25 | UP2SEPERATOR="v" |
26 | UP2DATE="updatecmd https://github.com/g2p/bcache-tools/releases | highesttarball gz" |
27 | |
28 | src_prepare() |
29 | { |
30 | munpack ${SRCFILE} || die |
31 | cd ${SRCDIR} |
32 | |
33 | # fix CFLAGS and fixed compile issues |
34 | sed -i -e '/^CFLAGS/s:-O2::' -e '/^CFLAGS/s:-g:-std=gnu89:' Makefile || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cd ${SRCDIR} |
40 | mmake || die |
41 | } |