Contents of /trunk/core/v86d/v86d-0.1.10-r2.smage2
Parent Directory | Revision Log
Revision 12846 -
(show annotations)
(download)
Wed Jul 4 10:59:08 2012 UTC (11 years, 11 months ago) by niro
File size: 973 byte(s)
Wed Jul 4 10:59:08 2012 UTC (11 years, 11 months ago) by niro
File size: 973 byte(s)
-marked stable
1 | # $Id$ |
2 | |
3 | PNAME="v86d" |
4 | PVER="0.1.10" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="sys-apps" |
8 | |
9 | DESCRIPTION="v86d is the userspace helper for uvesafb that runs x86 code in an emulated environment." |
10 | HOMEPAGE="http://dev.gentoo.org/~spock/projects/uvesafb/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | SDEPEND=">= virtual/kernel-sources |
14 | >= dev-libs/klibc-1.5" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | # global var: ${LINUX_SOURCES} |
20 | # location where they are |
21 | [[ -z ${LINUX_SOURCES} ]] && LINUX_SOURCES="/usr/src/linux" |
22 | |
23 | sminclude mbuild mtools |
24 | msetfeature "!check" |
25 | |
26 | SRC_URI=( |
27 | http://dev.gentoo.org/~spock/projects/uvesafb/archive/${SRCFILE} |
28 | mirror://${PNAME}/${SRCFILE} |
29 | ) |
30 | |
31 | UP2DATE="updatecmd ${HOMEPAGE} | grep ${PNAME}- | lasttarball" |
32 | |
33 | src_compile() |
34 | { |
35 | cd ${SRCDIR} |
36 | ./configure --with-klibc || die |
37 | make KDIR=${LINUX_SOURCES} || die |
38 | } |
39 | |
40 | src_install() |
41 | { |
42 | cd ${SRCDIR} |
43 | minstalldir /usr/sbin || die |
44 | minstallexec v86d /usr/sbin || die |
45 | minstalldocs AUTHORS ChangeLog README TODO || die |
46 | } |