Contents of /smage/trunk/core/v86d/v86d-0.1.10-r4.smage2
Parent Directory | Revision Log
Revision 4099 -
(show annotations)
(download)
Wed Nov 7 10:53:37 2012 UTC (11 years, 7 months ago) by niro
File size: 1002 byte(s)
Wed Nov 7 10:53:37 2012 UTC (11 years, 7 months ago) by niro
File size: 1002 byte(s)
-rebuild
1 | # $Id$ |
2 | |
3 | PNAME="v86d" |
4 | PVER="0.1.10" |
5 | PBUILD="r4" |
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 | |
15 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
17 | |
18 | # global var: ${LINUX_SOURCES} |
19 | # location where they are |
20 | [[ -z ${LINUX_SOURCES} ]] && LINUX_SOURCES="/usr/src/linux" |
21 | |
22 | ALX_PKG_KEEP="usr/sbin/v86d" |
23 | sminclude mbuild mtools alx-split |
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-x86emu || die |
37 | make KDIR=${LINUX_SOURCES} || die |
38 | } |
39 | |
40 | alx_generic_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 | } |