|
Last change
on this file since 588 was 588, checked in by bird, 18 years ago |
|
Hacked together two ebuilds for the Gentoo Portage.
|
|
File size:
889 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 eutils
|
|---|
| 6 |
|
|---|
| 7 | DESCRIPTION="kBuild"
|
|---|
| 8 | HOMEPAGE="http://svn.netlabs.org/kbuild"
|
|---|
| 9 | #SRC_URI="http://ftp.netlabs.org/pub/kBuild/${P}.tar.gz"
|
|---|
| 10 | SRC_URI="file:///home/bird/coding/kBuild/svn/${P}.tar.gz"
|
|---|
| 11 |
|
|---|
| 12 | SLOT="0"
|
|---|
| 13 | LICENSE="GPL-2"
|
|---|
| 14 | KEYWORDS="amd64 ~ppc ~sparc x86"
|
|---|
| 15 | IUSE=""
|
|---|
| 16 |
|
|---|
| 17 | KBUILD_SRC_TREE="${WORKDIR}/trunk/"
|
|---|
| 18 |
|
|---|
| 19 | src_compile() {
|
|---|
| 20 | append-cflags -g
|
|---|
| 21 | append-ldflags -g
|
|---|
| 22 | ${KBUILD_SRC_TREE}/kBuild/env.sh \
|
|---|
| 23 | kmk NIX_INSTALL_DIR=/usr BUILD_TYPE=release -C ${KBUILD_SRC_TREE} \
|
|---|
| 24 | || die "kmk failed"
|
|---|
| 25 | }
|
|---|
| 26 |
|
|---|
| 27 | src_install () {
|
|---|
| 28 | append-cflags -g
|
|---|
| 29 | append-ldflags -g
|
|---|
| 30 | ${KBUILD_SRC_TREE}/kBuild/env.sh \
|
|---|
| 31 | kmk NIX_INSTALL_DIR=/usr BUILD_TYPE=release -C ${KBUILD_SRC_TREE} PATH_INS=${D} install \
|
|---|
| 32 | || die "kmk install failed"
|
|---|
| 33 | }
|
|---|
| 34 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.