View | Details | Raw Unified
Collapse All | Expand All

(-) bitpim-0.9.07-r1.ebuild (-4 / +4 lines)
 Lines 2-8    Link Here 
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/bitpim-0.9.07-r1.ebuild,v 1.1 2006/11/08 10:06:04 mrness Exp $
# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/bitpim/bitpim-0.9.07-r1.ebuild,v 1.1 2006/11/08 10:06:04 mrness Exp $
inherit distutils
inherit distutils multilib
DESCRIPTION="This program allows you to view and manipulate data on LG VX4400/VX6000 and many Sanyo Sprint mobile phones"
DESCRIPTION="This program allows you to view and manipulate data on LG VX4400/VX6000 and many Sanyo Sprint mobile phones"
HOMEPAGE="http://www.bitpim.org/"
HOMEPAGE="http://www.bitpim.org/"
 Lines 83-89    Link Here 
	# Put it in its own home, and add the PYTHONPATH in the 
	# Put it in its own home, and add the PYTHONPATH in the 
	# wrapper executables below.
	# wrapper executables below.
	distutils_python_version
	distutils_python_version
	local RLOC=/usr/lib/${P}
	local RLOC=/usr/$(get_libdir)/${P}
	# Main Python source
	# Main Python source
	insinto ${RLOC}
	insinto ${RLOC}
 Lines 154-163    Link Here 
pkg_postinst() {
pkg_postinst() {
	# Optimize in installed directory
	# Optimize in installed directory
	python_mod_optimize "${ROOT}/usr/lib/${P}"
	python_mod_optimize "${ROOT}/usr/$(get_libdir)/${P}"
}
}
pkg_postrm() {
pkg_postrm() {
	python_version
	python_version
	python_mod_cleanup "${ROOT}/usr/lib/${P}"
	python_mod_cleanup "${ROOT}/usr/$(get_libdir)/${P}"
}
}