diff options
author | Douglas Russel <puggy@gentoo.org> | 2004-08-21 01:41:19 +0000 |
---|---|---|
committer | Douglas Russel <puggy@gentoo.org> | 2004-08-21 01:41:19 +0000 |
commit | 6bc126db452b03bcea800fc3ef6cd3f5cb6a5b57 (patch) | |
tree | 0f5f315a26bb2e08d2809885e5307cf425037ef2 /net-wireless/bluez-utils | |
parent | Stable on sparc (Manifest recommit) (diff) | |
download | gentoo-2-6bc126db452b03bcea800fc3ef6cd3f5cb6a5b57.tar.gz gentoo-2-6bc126db452b03bcea800fc3ef6cd3f5cb6a5b57.tar.bz2 gentoo-2-6bc126db452b03bcea800fc3ef6cd3f5cb6a5b57.zip |
bumping new versions
Diffstat (limited to 'net-wireless/bluez-utils')
-rw-r--r-- | net-wireless/bluez-utils/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/bluez-utils/Manifest | 2 | ||||
-rw-r--r-- | net-wireless/bluez-utils/bluez-utils-2.10.ebuild | 88 | ||||
-rw-r--r-- | net-wireless/bluez-utils/files/digest-bluez-utils-2.10 | 1 |
4 files changed, 98 insertions, 1 deletions
diff --git a/net-wireless/bluez-utils/ChangeLog b/net-wireless/bluez-utils/ChangeLog index e34e6672ba1c..b1820c379c6d 100644 --- a/net-wireless/bluez-utils/ChangeLog +++ b/net-wireless/bluez-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/bluez-utils # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.24 2004/06/27 02:57:07 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/ChangeLog,v 1.25 2004/08/21 01:41:19 puggy Exp $ + +*bluez-utils-2.10 (21 Aug 2004) + + 21 Aug 2004; Douglas Russell,,, <puggy@gentoo.org> +bluez-utils-2.10.ebuild: + Bumping to new version + Now depends on libusb 26 Jun 2004; Alastair Tse <liquidx@gentoo.org> : fix DEPEND diff --git a/net-wireless/bluez-utils/Manifest b/net-wireless/bluez-utils/Manifest index afb7318454a7..b786799a63ee 100644 --- a/net-wireless/bluez-utils/Manifest +++ b/net-wireless/bluez-utils/Manifest @@ -3,6 +3,7 @@ MD5 311b34728e43e5689c35633292e7b8e1 bluez-utils-2.3-r2.ebuild 2424 MD5 0f6cfc37f39382f5815f7b204f2d2d66 bluez-utils-2.3-r1.ebuild 1904 MD5 2e246746b1f0fae59ebbe901057ae682 bluez-utils-2.3.ebuild 1525 MD5 dc5e24c1867a6edd93a94ea0d07c7b82 ChangeLog 3581 +MD5 7c259fbc8befd91f9fb2afec5e5b4988 bluez-utils-2.10.ebuild 2293 MD5 2c18008f3b01f8eb7b61356732a26085 bluez-utils-2.5.ebuild 2229 MD5 439de383d422683abddb9ff8b75aa67b metadata.xml 235 MD5 8bc76d5064a1fae0dd2481919b1988f1 files/digest-bluez-utils-2.3-r1 67 @@ -14,4 +15,5 @@ MD5 8bc76d5064a1fae0dd2481919b1988f1 files/digest-bluez-utils-2.3 67 MD5 3b8896ca69850cb62ca395aa7357bf5a files/digest-bluez-utils-2.5 67 MD5 8f08bc200ec5740dd96c1043257f776f files/digest-bluez-utils-2.7 67 MD5 d552cb6515bf251c019ca4a95dd266eb files/bluez-utils-2.3-bluepin-gtk2.patch 3295 +MD5 06aa410f5fe0f8459273a2bcda7db8cc files/digest-bluez-utils-2.10 68 MD5 6f1bdc52d79f50de7db8ec4d87312993 files/bluetooth.rc 1092 diff --git a/net-wireless/bluez-utils/bluez-utils-2.10.ebuild b/net-wireless/bluez-utils/bluez-utils-2.10.ebuild new file mode 100644 index 000000000000..376350c39788 --- /dev/null +++ b/net-wireless/bluez-utils/bluez-utils-2.10.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-utils/bluez-utils-2.10.ebuild,v 1.1 2004/08/21 01:41:19 puggy Exp $ + +inherit eutils + +DESCRIPTION="bluetooth utilities" +HOMEPAGE="http://bluez.sourceforge.net/" +SRC_URI="http://bluez.sourceforge.net/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~ppc ~amd64" +IUSE="gtk" +RDEPEND=">=net-wireless/bluez-libs-2.10 + !net-wireless/bluez-pan + gtk? ( >=dev-python/pygtk-2 ) + dev-libs/libusb" + +DEPEND="sys-devel/bison + sys-devel/flex + >=sys-apps/sed-4 + ${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S}; + #epatch ${FILESDIR}/${PN}-2.3-rfcomm_fflush.patch + + # Fix some installation locations + + for dir in rfcomm sdpd pand hcid dund tools; do + mv -f $dir/Makefile.in ${T}/Makefile.in + sed -e "s:\$(prefix)/usr/share/man:\@mandir\@:" \ + ${T}/Makefile.in > $dir/Makefile.in; + done + + mv -f hcid/Makefile.in ${T}/Makefile.in + sed -e "s:\$(prefix)/etc/bluetooth:/etc/bluetooth:" \ + ${T}/Makefile.in > hcid/Makefile.in + + if ! use gtk; then + mv -f scripts/Makefile.in ${T}/Makefile.in + sed -e "s:= bluepin:= :" \ + ${T}/Makefile.in > scripts/Makefile.in + fi +} + +src_compile() { + econf || die "econf failed" + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + dodoc README + + sed -e "s:security auto;:security user;:" \ + -i ${D}/etc/bluetooth/hcid.conf + + if use gtk; then + sed -e "s:\(pin_helper \).*:\1/usr/bin/bluepin;:" \ + -i ${D}/etc/bluetooth/hcid.conf + else + sed -e "s:\(pin_helper \).*:\1/etc/bluetooth/pin;:" \ + -i ${D}/etc/bluetooth/hcid.conf + fi + + exeinto /etc/init.d + newexe ${FILESDIR}/bluetooth.rc bluetooth + + exeinto /etc/bluetooth + newexe ${FILESDIR}/pin.sample pin + fperms 0700 /etc/bluetooth/pin +} + +pkg_postinst() { + einfo "" + einfo "A startup script has been installed in /etc/init.d/bluetooth." + einfo "RFComm devices are found in /dev/bluetooh/rfcomm/* instead of /dev/rfcomm*" + einfo "If you need to set a default PIN, edit /etc/bluetooth/pin, and change" + einfo "/etc/bluetooth/hcid.conf option 'pin_helper' to /etc/bluetooth/pin." + if use gtk; then + einfo "By default, /usr/bin/bluepin will be launched on the desktop display" + einfo "for pin number input." + fi + einfo "" +} diff --git a/net-wireless/bluez-utils/files/digest-bluez-utils-2.10 b/net-wireless/bluez-utils/files/digest-bluez-utils-2.10 new file mode 100644 index 000000000000..9d6edfd94983 --- /dev/null +++ b/net-wireless/bluez-utils/files/digest-bluez-utils-2.10 @@ -0,0 +1 @@ +MD5 4f936b90e32eb24904dea70bd0a464f0 bluez-utils-2.10.tar.gz 290371 |