/[alx-svn]/smage/branches/alx07x-stable/extras/linux-musl-headers/linux-musl-headers-3.12.6_5-r1.smage2 |
Annotation of /smage/branches/alx07x-stable/extras/linux-musl-headers/linux-musl-headers-3.12.6_5-r1.smage2
Parent Directory | Revision Log
Revision 10585 -
(hide annotations)
(download)
Fri Aug 25 08:03:17 2017 UTC (6 years, 8 months ago) by niro
Original Path: smage/trunk/extras/linux-musl-headers/linux-musl-headers-3.12.6_5-r1.smage2
File size: 861 byte(s)
Fri Aug 25 08:03:17 2017 UTC (6 years, 8 months ago) by niro
Original Path: smage/trunk/extras/linux-musl-headers/linux-musl-headers-3.12.6_5-r1.smage2
File size: 861 byte(s)
auto added: ver bump to 3.12.6_5-r1
1 | niro | 10584 | # $Id$ |
2 | |||
3 | PNAME="linux-musl-headers" | ||
4 | PVER="3.12.6_5" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="sys-kernel" | ||
8 | |||
9 | DESCRIPTION="Linux kernel headers sanitized for use with musl libc." | ||
10 | HOMEPAGE="https://github.com/sabotage-linux/kernel-headers" | ||
11 | |||
12 | DEPEND=">= sys-libs/musl-1.1" | ||
13 | |||
14 | niro | 10585 | SRCFILE="v${PVER/_/-}.tar.gz" |
15 | niro | 10584 | SRCDIR="${BUILDDIR}/kernel-headers-${PVER/_/-}" |
16 | |||
17 | sminclude mbuild | ||
18 | |||
19 | SRC_URI=( | ||
20 | https://github.com/sabotage-linux/kernel-headers/archive/${SRCFILE} | ||
21 | mirror://${PNAME}/${SRCFILE} | ||
22 | ) | ||
23 | |||
24 | # no need to waste time here | ||
25 | msetfeature "!strip" | ||
26 | |||
27 | UP2SEPERATOR="v" | ||
28 | UP2PVER="${PVER/_/-}" | ||
29 | UP2DATE="updatecmd https://github.com/sabotage-linux/kernel-headers/releases | highesttarball gz" | ||
30 | |||
31 | src_compile() | ||
32 | { | ||
33 | cd ${SRCDIR} | ||
34 | mmake ARCH=${ARCH/i*86/x86} prefix=/usr/$(mlibdir)/musl || die | ||
35 | } | ||
36 | |||
37 | src_install() | ||
38 | { | ||
39 | cd ${SRCDIR} | ||
40 | mmake DESTDIR=${BINDIR} ARCH=${ARCH/i*86/x86} prefix=/usr/$(mlibdir)/musl install || die | ||
41 | } |