eclass/cargo: extend to support building packages
authorDoug Goldstein <cardoe@gentoo.org>
Mon, 11 Jul 2016 13:43:23 +0000 (08:43 -0500)
committerDoug Goldstein <cardoe@gentoo.org>
Wed, 30 Nov 2016 17:17:51 +0000 (11:17 -0600)
commite07fc451a52c104d1e7dfae2207e7cd908b77ccc
tree9d7375b20880ff3a1f2db35f31a89bc5c26c9f02
parentff78951f1729d81a9c1fe834bdc890c44b0bc98b
eclass/cargo: extend to support building packages

Originally this eclass only had the bits to build cargo and not other
packages built with cargo. Cargo is a special case and needs to override
some parts. This adds the generic case for normal cargo packages,
allowing for debug and release builds of packages as well.

Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
eclass/cargo.eclass