diff options
author | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2013-07-26 11:50:08 +0400 |
---|---|---|
committer | Stanislav Vorobiov <s.vorobiov@samsung.com> | 2013-07-26 11:50:08 +0400 |
commit | 0988d6115d328588f956a6bfd741f0af994d866d (patch) | |
tree | 4da189270c72fe6efbc3d8231bee71d387850be6 /packaging | |
parent | 93546a60348f4c4037cec3f309490c8efd9511a8 (diff) | |
download | emulator-yagl-0988d6115d328588f956a6bfd741f0af994d866d.tar.gz emulator-yagl-0988d6115d328588f956a6bfd741f0af994d866d.tar.bz2 emulator-yagl-0988d6115d328588f956a6bfd741f0af994d866d.zip |
YaGL: Moved to CMake
Change-Id: I0ff71eba9c33d8b298b4113b30a8a659d9b1a09f
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/emulator-yagl.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/emulator-yagl.spec b/packaging/emulator-yagl.spec index 041d460..4c1d24b 100644 --- a/packaging/emulator-yagl.spec +++ b/packaging/emulator-yagl.spec @@ -6,6 +6,7 @@ Group: TO_BE/FILLED_IN License: TO_BE/FILLED_IN #URL: http://www.khronos.org Source0: %{name}-%{version}.tar.gz +BuildRequires: cmake BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11-xcb) @@ -29,10 +30,11 @@ YaGL - OpenGLES acceleration module for emulator (devel) %setup -q %build +cmake -DCMAKE_INSTALL_PREFIX=%{buildroot}/usr -DINSTALL_LIB_DIR=lib/yagl make %install -make INSTALL_LIB_DIR=%{buildroot}/usr/lib/yagl install +make install mkdir -p %{buildroot}/usr/lib/systemd/system cp packaging/emul-opengl-yagl.service %{buildroot}/usr/lib/systemd/system mkdir -p %{buildroot}/etc/emulator |