summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-03-31 22:22:19 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-03-31 22:22:19 +0900
commitd0bfeaf7ebe427624fa34f5e522f3feb7444b9a3 (patch)
tree4b44016575373e3321496aa9274d79207d5bf172
parent1c50ffe83f41a6859e7595fd60851cd2b9b8e39b (diff)
we have spec files... lets add arch pkgbuild stuff too :)
Diffstat (limited to '')
-rw-r--r--Makefile.am7
-rw-r--r--configure.ac1
-rw-r--r--pkgbuild/PKGBUILD.in73
3 files changed, 80 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 1ade071e35..2983d1e450 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -106,7 +106,8 @@ old/README.escape \
106old/README.ethumb \ 106old/README.ethumb \
107old/README.evas \ 107old/README.evas \
108old/README.evil \ 108old/README.evil \
109spec/efl.spec 109spec/efl.spec \
110pkgbuild/PKGBUILD
110 111
111pkgconfigdir = $(libdir)/pkgconfig 112pkgconfigdir = $(libdir)/pkgconfig
112pkgconfig_DATA = 113pkgconfig_DATA =
@@ -305,6 +306,10 @@ examples:
305install-examples: 306install-examples:
306 @$(MAKE) $(AM_MAKEFLAGS) -C src install-examples 307 @$(MAKE) $(AM_MAKEFLAGS) -C src install-examples
307 308
309pkgbuild::
310 @echo "making arch packages"
311 makepkg -f -p $(top_builddir)/pkgbuild/PKGBUILD
312
308# cleaning 313# cleaning
309 314
310clean-local: 315clean-local:
diff --git a/configure.ac b/configure.ac
index 36fe7d64b6..ec34890e81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3639,6 +3639,7 @@ src/examples/ethumb_client/Makefile
3639src/lib/eina/eina_config.h 3639src/lib/eina/eina_config.h
3640src/lib/ecore_x/ecore_x_version.h 3640src/lib/ecore_x/ecore_x_version.h
3641spec/efl.spec 3641spec/efl.spec
3642pkgbuild/PKGBUILD
3642pc/evil.pc 3643pc/evil.pc
3643pc/escape.pc 3644pc/escape.pc
3644pc/eina.pc 3645pc/eina.pc
diff --git a/pkgbuild/PKGBUILD.in b/pkgbuild/PKGBUILD.in
new file mode 100644
index 0000000000..55b16f0f82
--- /dev/null
+++ b/pkgbuild/PKGBUILD.in
@@ -0,0 +1,73 @@
1# Maintainer: Enlightenment Developers <enlightenment-devel@enlightenment.org>
2pkgname=('efl' 'efl_doc' 'efl_x11')
3pkgver=@VERSION@
4pkgrel=1
5pkgdesc="Enlightenment Foundation Libraries"
6arch=('i686' 'x86_64' 'arm')
7url="http://www.enlightenment.org"
8license=('BSD' 'LGPL2' 'GPL2')
9depends=('bullet' 'libpng' 'libjpeg-turbo' 'gstreamer0.10' 'zlib' 'lua' 'libtiff' 'openssl' 'util-linux' 'curl' 'dbus-core' 'glibc' 'fontconfig' 'freetype2' 'fribidi' 'libpulse' 'libsndfile' 'systemd' 'libx11' 'libxau' 'libxcomposite' 'libxdamage' 'libxdmcp' 'libxext' 'libxfixes' 'libxinerama' 'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst' ' libgl' 'giflib')
10provides=()
11replaces=()
12options=('strip' 'docs' 'zipman')
13buildflags="-fvisibility=hidden -fomit-frame-pointer"
14build() {
15 cd ".."
16 ./configure --prefix=/usr \
17 --disable-static --enable-fb --disable-tslib --enable-xinput22
18 make
19 make doc
20}
21
22check() {
23 cd ".."
24 make -k check
25}
26
27package_efl() {
28 cd ".."
29 rm -rf $pkgdir/usr
30 make DESTDIR="$pkgdir/" install
31 install -Dm644 README $pkgdir/usr/share/$pkgname/licenses/$pkgname/README
32 install -Dm644 NEWS $pkgdir/usr/share/$pkgname/licenses/$pkgname/NEWS
33 install -Dm644 ChangeLog $pkgdir/usr/share/$pkgname/licenses/$pkgname/ChangeLog
34 install -Dm644 COMPLIANCE $pkgdir/usr/share/$pkgname/licenses/$pkgname/COMPLIANCE
35 install -Dm644 AUTHORS $pkgdir/usr/share/$pkgname/licenses/$pkgname/AUTHORS
36 install -Dm644 licenses/COPYING.BSD $pkgdir/usr/share/$pkgname/licenses/$pkgname/licenses/COPYING.BSD
37 install -Dm644 licenses/COPYING.GPL $pkgdir/usr/share/$pkgname/licenses/$pkgname/licenses/COPYING.GPL
38 install -Dm644 licenses/COPYING.LGPL $pkgdir/usr/share/$pkgname/licenses/$pkgname/licenses/COPYING.LGPL
39 install -Dm644 licenses/COPYING.SMALL $pkgdir/usr/share/$pkgname/licenses/$pkgname/licenses/COPYING.SMALL
40 rm -rf \
41 $pkgdir/usr/include/evas-1/Evas_Engine_*_X11.h \
42 $pkgdir/usr/include/ecore-x-1 \
43 $pkgdir/usr/lib/evas/modules/engines/*_x11 \
44 $pkgdir/usr/lib/ecore_evas/engines/x \
45 $pkgdir/usr/lib/libecore_x* \
46 $pkgdir/usr/lib/pkgconfig/ecore-x.pc \
47 $pkgdir/usr/lib/pkgconfig/evas-*-x11.pc
48}
49
50package_efl_doc() {
51 cd ".."
52 rm -rf $pkgdir/usr
53 make DESTDIR="$pkgdir/" install
54 mkdir -p $pkgdir/usr/share/man/man3
55 cp -r doc/html $pkgdir/usr/share/$pkgname/
56 cp -r doc/latex $pkgdir/usr/share/$pkgname/latex
57}
58
59package_efl_x11() {
60 cd ".."
61 rm -rf $pkgdir/usr
62 make DESTDIR="$pkgdir/" install
63 tar cf xf.tar \
64 $pkgdir/usr/include/evas-1/Evas_Engine_*_X11.h \
65 $pkgdir/usr/include/ecore-x-1 \
66 $pkgdir/usr/lib/evas/modules/engines/*_x11 \
67 $pkgdir/usr/lib/ecore_evas/engines/x \
68 $pkgdir/usr/lib/libecore_x* \
69 $pkgdir/usr/lib/pkgconfig/ecore-x.pc \
70 $pkgdir/usr/lib/pkgconfig/evas-*-x11.pc
71 rm -rf $pkgdir/usr
72 tar -C / -P -xf xf.tar
73}