/[gentoo-x86]/sys-apps/usbutils/usbutils-005.ebuild
Gentoo

Diff of /sys-apps/usbutils/usbutils-005.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/Attic/usbutils-005.ebuild,v 1.4 2012/05/04 09:17:26 jdhore Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/usbutils/Attic/usbutils-005.ebuild,v 1.5 2012/08/25 22:35:26 vapier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7PYTHON_DEPEND="python? 2:2.6" 7PYTHON_DEPEND="python? 2:2.6"
8 8
55 # the package (currently) lacks plumbing to use the gzipped file 55 # the package (currently) lacks plumbing to use the gzipped file
56 rm -f "${ED}"/usr/share/misc/usb.ids.gz 56 rm -f "${ED}"/usr/share/misc/usb.ids.gz
57 57
58 use python || rm -f "${ED}"/usr/bin/lsusb.py 58 use python || rm -f "${ED}"/usr/bin/lsusb.py
59 59
60 mv -vf "${ED}"/usr/sbin/update-usbids{.sh,} || die 60 mv "${ED}"/usr/sbin/update-usbids{.sh,} || die
61 newbin "${FILESDIR}"/usbmodules.sh usbmodules 61 newbin "${FILESDIR}"/usbmodules.sh usbmodules
62 62
63 use network-cron || return 0 63 use network-cron || return 0
64 exeinto /etc/cron.monthly 64 exeinto /etc/cron.monthly
65 newexe "${FILESDIR}"/${PN}.cron update-usbids 65 newexe "${FILESDIR}"/${PN}.cron update-usbids

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20