|
Last change
on this file since 589 was 589, checked in by bird, 18 years ago |
|
strip fix.
|
-
Property svn:executable
set to
*
|
|
File size:
918 bytes
|
| Line | |
|---|
| 1 | # Copyright (c) 2006 knut st. osmundsen <bird-kbuild-src@anduin.net>
|
|---|
| 2 | # Distributed under the terms of the GNU General Public License v2
|
|---|
| 3 | # $Header: $
|
|---|
| 4 |
|
|---|
| 5 | inherit subversion
|
|---|
| 6 |
|
|---|
| 7 | DESCRIPTION="kBuild"
|
|---|
| 8 | HOMEPAGE="http://svn.netlabs.org/kbuild"
|
|---|
| 9 | ESVN_REPO_URI="http://svn.netlabs.org/repos/kbuild/trunk"
|
|---|
| 10 | ESVN_STORE_DIR="${DISTDIR}/svn-src"
|
|---|
| 11 | ESVN_PROJECT="${PN/-svn}"
|
|---|
| 12 |
|
|---|
| 13 | SLOT="0"
|
|---|
| 14 | LICENSE="GPL-2"
|
|---|
| 15 | KEYWORDS="amd64 ~ppc ~sparc x86"
|
|---|
| 16 | IUSE=""
|
|---|
| 17 |
|
|---|
| 18 | KBUILD_SRC_TREE="${ESVN_STORE_DIR}/kBuild/trunk"
|
|---|
| 19 |
|
|---|
| 20 | src_compile() {
|
|---|
| 21 | append-cflags -g
|
|---|
| 22 | append-ldflags -g
|
|---|
| 23 | ${KBUILD_SRC_TREE}/kBuild/env.sh \
|
|---|
| 24 | kmk NIX_INSTALL_DIR=/usr BUILD_TYPE=release -C ${KBUILD_SRC_TREE} \
|
|---|
| 25 | || die "kmk failed"
|
|---|
| 26 | }
|
|---|
| 27 |
|
|---|
| 28 | src_install () {
|
|---|
| 29 | append-cflags -g
|
|---|
| 30 | append-ldflags -g
|
|---|
| 31 | ${KBUILD_SRC_TREE}/kBuild/env.sh \
|
|---|
| 32 | kmk NIX_INSTALL_DIR=/usr BUILD_TYPE=release -C ${KBUILD_SRC_TREE} PATH_INS=${D} install \
|
|---|
| 33 | || die "kmk install failed"
|
|---|
| 34 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.