Magellan Linux

Annotation of /branches/R11-stable/core/v86d/v86d-0.1.10-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12885 - (hide annotations) (download)
Thu Jul 5 13:01:11 2012 UTC (11 years, 11 months ago) by niro
Original Path: trunk/core/v86d/v86d-0.1.10-r3.smage2
File size: 951 byte(s)
-dropped klibc support, rebuild against glibc
1 niro 12885 # $Id$
2    
3     PNAME="v86d"
4     PVER="0.1.10"
5     PBUILD="r3"
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     sminclude mbuild mtools
23     msetfeature "!check"
24    
25     SRC_URI=(
26     http://dev.gentoo.org/~spock/projects/uvesafb/archive/${SRCFILE}
27     mirror://${PNAME}/${SRCFILE}
28     )
29    
30     UP2DATE="updatecmd ${HOMEPAGE} | grep ${PNAME}- | lasttarball"
31    
32     src_compile()
33     {
34     cd ${SRCDIR}
35     ./configure --with-x86emu || die
36     make KDIR=${LINUX_SOURCES} || die
37     }
38    
39     src_install()
40     {
41     cd ${SRCDIR}
42     minstalldir /usr/sbin || die
43     minstallexec v86d /usr/sbin || die
44     minstalldocs AUTHORS ChangeLog README TODO || die
45     }