Contents of /smage/branches/alx07x-stable/extras/orc/orc-0.4.31-r4.smage2
Parent Directory | Revision Log
Revision 15351 -
(show annotations)
(download)
Wed Aug 26 08:06:00 2020 UTC (4 years ago) by niro
Original Path: smage/trunk/extras/orc/orc-0.4.31-r4.smage2
File size: 1357 byte(s)
Wed Aug 26 08:06:00 2020 UTC (4 years ago) by niro
Original Path: smage/trunk/extras/orc/orc-0.4.31-r4.smage2
File size: 1357 byte(s)
auto added: ver bump to 0.4.31-r4
1 | # $Id$ |
2 | |
3 | PNAME="orc" |
4 | PVER="0.4.31" |
5 | PBUILD="r4" |
6 | |
7 | SPLIT_PACKAGES="liborc orc" |
8 | |
9 | PCAT="dev-lang" |
10 | |
11 | HOMEPAGE="http://code.entropywave.com/orc/" |
12 | |
13 | LIB_DEPEND=">= virtual/glibc" |
14 | ORC_DEPEND="${LIB_DEPEND}" |
15 | |
16 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
18 | |
19 | msetfeature "!check" # disabled atm - fixme |
20 | sminclude multilib meson cleanutils |
21 | |
22 | SRC_URI=( |
23 | #http://code.entropywave.com/download/${PNAME}/${SRCFILE} |
24 | http://gstreamer.freedesktop.org/src/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | ) |
27 | |
28 | #UP2DATE="updatecmd http://code.entropywave.com/download/${PNAME}/ | highesttarball gz" |
29 | UP2DATE="updatecmd http://gstreamer.freedesktop.org/src/${PNAME}/ | highesttarball xz" |
30 | |
31 | split_info_liborc() |
32 | { |
33 | DESCRIPTION="Oil Runtime Compiler libraries." |
34 | DEPEND="${LIB_DEPEND}" |
35 | PCAT="dev-libs" |
36 | } |
37 | |
38 | split_info_orc() |
39 | { |
40 | DESCRIPTION="The Oil Runtime Compiler." |
41 | DEPEND="== dev-libs/liborc-${PVER} |
42 | ${ORC_DEPEND}" |
43 | } |
44 | |
45 | src_install_liborc() |
46 | { |
47 | DESTDIR=${BINDIR} mninja install || die |
48 | |
49 | # fix an alx evaluation issue |
50 | cd ${BINDIR} |
51 | |
52 | zapmost ${BINDIR} \ |
53 | usr/$(mlibdir)/*.so* \ |
54 | $([[ $(mlibdir) != lib ]] && echo 'usr/lib/*.so*') \ |
55 | || die |
56 | } |
57 | |
58 | src_install_orc() |
59 | { |
60 | DESTDIR=${BINDIR} mninja install || die |
61 | |
62 | mdelete /usr/$(mlibdir)/\*.so\* || die |
63 | if [[ $(mlibdir) != lib ]] |
64 | then |
65 | mdelete /usr/lib/\*.so\* || die |
66 | fi |
67 | |
68 | minstalldocs COPYING README TODO || die |
69 | } |