packages/sys-apps/lshw/lshw-02.15B.exheres-0 (709B) - raw
1 # Copyright 2010 Timothy Redaelli <timothy@redaelli.eu> 2 # Distributed under the terms of the GNU General Public License v2 3 4 MY_PV=${PV:0-1}.${PV:0:${#PV}-1} 5 MY_PNV=${PN}-${MY_PV} 6 SUMMARY="Hardware Lister" 7 8 HOMEPAGE="http://ezix.org/project/wiki/HardwareLiSter" 9 DOWNLOADS="http://ezix.org/software/files/${MY_PNV}.tar.gz" 10 11 LICENCES="GPL-2" 12 SLOT="0" 13 PLATFORMS="~amd64 ~x86" 14 MYOPTIONS="gtk" 15 16 DEPENDENCIES="gtk? ( x11-libs/gtk+:2 )" 17 18 BUGS_TO="djc@djc.id.au" 19 20 WORK="${WORKBASE}"/${MY_PNV} 21 22 DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PNV}-build.patch ) 23 24 src_compile() { 25 default 26 option gtk && emake gui 27 } 28 29 src_install() { 30 default 31 dodoc docs/* 32 option gtk && emake DESTDIR="${IMAGE}" install-gui 33 }