Angelo Arrifano wrote: > > [ -z "${GPE_MIRROR}" ] && > GPE_MIRROR="http://gpe.linuxtogo.org/download/source" > [ -z "${GPE_TARBALL_SUFFIX}" ] && GPE_TARBALL_SUFFIX="gz" > SRC_URI="${GPE_MIRROR}/${P}.tar.${GPE_TARBALL_SUFFIX}" >
Use [[ here. > > # @FUNCTION: gpe_src_compile > # @DESCRIPTION: (Cross-)Compiles a GPE package. > gpe_src_compile() { > tc-export CC > has "${EAPI:-0}" 0 1 && gpe_src_configure "$@" > # miknix: Code belo must NOT die, some packages dont really build > anything, > # just install. > emake PREFIX=/usr > } > The packages that don't build anything can do: src_compile() { :; } or you can have a variable for skipping the build step. Regards, Petteri
signature.asc
Description: OpenPGP digital signature