Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: chromeos-base/synaptics/synaptics-0.0.1.ebuild

Issue 1576023: Remove synaptics dependency. (Closed)
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos-base/libcros/libcros-0.0.1-r11.ebuild ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=2
5
6 inherit toolchain-funcs
7
8 DESCRIPTION="Chrome OS base library."
9 HOMEPAGE="http://src.chromium.org"
10 SRC_URI=""
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="amd64 x86 arm"
14 IUSE=""
15
16 DEPEND="x11-libs/libX11
17 x11-proto/inputproto
18 x11-proto/xproto"
19
20 RDEPEND=""
21
22 src_unpack() {
23 local synaptics="${CHROMEOS_ROOT}/src/third_party/synaptics/"
24 mkdir -p "${S}"
25 cp -a "${synaptics}"/* "${S}" || die
26 }
27
28 src_compile() {
29 if tc-is-cross-compiler ; then
30 tc-getCC
31 tc-getCXX
32 tc-getAR
33 tc-getRANLIB
34 tc-getLD
35 tc-getNM
36 export PKG_CONFIG_PATH="${ROOT}/usr/lib/pkgconfig/"
37 export CCFLAGS="$CFLAGS"
38 fi
39
40 scons || die "third_party/synaptics compile failed."
41 }
42
43 src_install() {
44 mkdir -p "${D}/usr/lib" \
45 "${D}/usr/include/"
46
47 install -m0644 "${S}/synclient.h" "${D}/usr/include/"
48 install -m0644 "${S}/libsynaptics.a" "${D}/usr/lib/"
49 }
OLDNEW
« no previous file with comments | « chromeos-base/libcros/libcros-0.0.1-r11.ebuild ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698