Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Announcement of The G Palmtop Environment ebuilds
Date: Sun, 08 Feb 2009 21:36:25
Message-Id: 498F50D6.1060604@gentoo.org
In Reply to: Re: [gentoo-dev] Announcement of The G Palmtop Environment ebuilds by Angelo Arrifano
1 Angelo Arrifano wrote:
2 >
3 > [ -z "${GPE_MIRROR}" ] && GPE_MIRROR="http://gpe.linuxtogo.org/download/source"
4 > [ -z "${GPE_TARBALL_SUFFIX}" ] && GPE_TARBALL_SUFFIX="gz"
5 > SRC_URI="${GPE_MIRROR}/${P}.tar.${GPE_TARBALL_SUFFIX}"
6 >
7
8 Use [[ here.
9
10 >
11 > # @FUNCTION: gpe_src_compile
12 > # @DESCRIPTION: (Cross-)Compiles a GPE package.
13 > gpe_src_compile() {
14 > tc-export CC
15 > has "${EAPI:-0}" 0 1 && gpe_src_configure "$@"
16 > # miknix: Code belo must NOT die, some packages dont really build anything,
17 > # just install.
18 > emake PREFIX=/usr
19 > }
20 >
21
22 The packages that don't build anything can do:
23 src_compile() { :; } or you can have a variable for skipping the build
24 step.
25
26 Regards,
27 Petteri

Attachments

File name MIME type
signature.asc application/pgp-signature