Contents of /smage/trunk/core/libx86emu/libx86emu-3.1-r1.smage2
Parent Directory | Revision Log
Revision 14276 -
(show annotations)
(download)
Tue Jul 7 14:57:29 2020 UTC (3 years, 9 months ago) by niro
File size: 735 byte(s)
Tue Jul 7 14:57:29 2020 UTC (3 years, 9 months ago) by niro
File size: 735 byte(s)
auto added: ver bump to 3.1-r1
1 | # $Id$ |
2 | |
3 | PNAME="libx86emu" |
4 | PVER="3.1" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="sys-libs" |
8 | |
9 | DESCRIPTION="x86 emulation library." |
10 | HOMEPAGE="http://www.opensuse.org" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | SRCFILE="${PVER}.tar.gz" |
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
16 | |
17 | sminclude mtools mbuild alx-split |
18 | |
19 | SRC_URI=( |
20 | https://github.com/wfeldt/${PNAME}/archive/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | ) |
23 | |
24 | UP2SEPERATOR="\/" |
25 | UP2DATE="updatecmd https://github.com/wfeldt/${PNAME}/releases | highesttarball gz" |
26 | |
27 | src_compile() |
28 | { |
29 | cd ${SRCDIR} |
30 | mmake LIBDIR=/usr/$(mlibdir) || die |
31 | } |
32 | |
33 | alx_generic_src_install() |
34 | { |
35 | cd ${SRCDIR} |
36 | |
37 | minstalldir /usr/$(mlibdir) || die |
38 | mmake DESTDIR=${BINDIR} LIBDIR=/usr/$(mlibdir) install || die |
39 | minstalldocs Changelog LICENSE README VERSION || die |
40 | } |