Magellan Linux

Contents of /trunk/core/v86d/v86d-0.1.10-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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