From b57f5620706c92d1fa4d233bb651134b25d86cdf Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Fri, 6 Dec 2013 00:43:40 +0100 Subject: add gentoo `packaging', improve debian one --- debian/control | 2 +- debian/libgato-dev.install | 4 ---- debian/source/format | 1 - gentoo/libgato.ebuild | 22 ++++++++++++++++++++++ libgato.pro | 2 +- 5 files changed, 24 insertions(+), 7 deletions(-) delete mode 100644 debian/source/format create mode 100644 gentoo/libgato.ebuild diff --git a/debian/control b/debian/control index 2d3f996..39f76b4 100644 --- a/debian/control +++ b/debian/control @@ -20,6 +20,6 @@ Package: libgato1 Section: devel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Description: A Generic Attribute Profile library for Bluetooth devices +Description: Generic Attribute Profile library for Bluetooth devices libgato is a library that can used to communicate with Bluetooth Smart devices using the Generitc Attribute Profile (GATT). diff --git a/debian/libgato-dev.install b/debian/libgato-dev.install index 3c996c8..b341905 100644 --- a/debian/libgato-dev.install +++ b/debian/libgato-dev.install @@ -1,6 +1,2 @@ usr/include/* -usr/lib/lib*.a usr/lib/lib*.so -usr/lib/pkgconfig/* -usr/lib/*.la -usr/share/pkgconfig/* diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index 163aaf8..0000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/gentoo/libgato.ebuild b/gentoo/libgato.ebuild new file mode 100644 index 0000000..e1ae941 --- /dev/null +++ b/gentoo/libgato.ebuild @@ -0,0 +1,22 @@ +# Copyright 2013 Javier S. Pedro +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +EGIT_REPO_URI="git://gitorious.org/gato/libgato.git" + +inherit git-2 qt4-r2 + +DESCRIPTION="Generic Attribute Profile library for Bluetooth device)" +HOMEPAGE="https://gitorious.org/firefox-gnome-globalmenu/qt4-gnome-globalmenu" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64" +IUSE="debug" + +RDEPEND=">=dev-qt/qtcore-4.8:4 net-wireless/bluez" + +src_unpack() { + git-2_src_unpack +} diff --git a/libgato.pro b/libgato.pro index d426b67..a12c494 100644 --- a/libgato.pro +++ b/libgato.pro @@ -42,7 +42,7 @@ publicheaders.files = libgato_global.h gato.h \ gatocentralmanager.h gatoperipheral.h \ gatoservice.h gatocharacteristic.h gatodescriptor.h \ gatouuid.h gatoaddress.h -publicheaders.path = /usr/include +publicheaders.path = /usr/include/gato INSTALLS += publicheaders OTHER_FILES += \ -- cgit v1.2.3