[arch-commits] Commit in libspnav/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Sat Jan 10 08:15:18 UTC 2015
Date: Saturday, January 10, 2015 @ 09:15:17
Author: andrea
Revision: 228876
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
libspnav/repos/extra-i686/PKGBUILD
(from rev 228875, libspnav/trunk/PKGBUILD)
libspnav/repos/extra-x86_64/PKGBUILD
(from rev 228875, libspnav/trunk/PKGBUILD)
Deleted:
libspnav/repos/extra-i686/Makefile.patch
libspnav/repos/extra-i686/PKGBUILD
libspnav/repos/extra-x86_64/Makefile.patch
libspnav/repos/extra-x86_64/PKGBUILD
-----------------------------+
/PKGBUILD | 72 ++++++++++++++++++++++++++++++++++++++++++
extra-i686/Makefile.patch | 51 -----------------------------
extra-i686/PKGBUILD | 34 -------------------
extra-x86_64/Makefile.patch | 51 -----------------------------
extra-x86_64/PKGBUILD | 34 -------------------
5 files changed, 72 insertions(+), 170 deletions(-)
Deleted: extra-i686/Makefile.patch
===================================================================
--- extra-i686/Makefile.patch 2015-01-10 08:15:07 UTC (rev 228875)
+++ extra-i686/Makefile.patch 2015-01-10 08:15:17 UTC (rev 228876)
@@ -1,51 +0,0 @@
---- libspnav-0.2.2/Makefile.in 2010-03-28 00:24:27.000000000 +0100
-+++ a/trunk/libspnav/Makefile.in 2014-03-05 15:33:07.590597866 +0100
-@@ -4,10 +4,12 @@
- lib_a = libspnav.a
- soname = libspnav.so.0
- lib_so = $(soname).1
-+devlink = libspnav.so
-
- CC = gcc
- AR = ar
--CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I.
-+CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I. -I/usr/local/include $(user_cflags)
-+LDFLAGS = $(user_ldflags)
-
- .PHONY: all
- all: $(lib_a) $(lib_so)
-@@ -16,7 +18,7 @@
- $(AR) rcs $@ $(obj)
-
- $(lib_so): $(obj)
-- $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj)
-+ $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj) $(LDFLAGS)
-
- %.o: $(srcdir)/%.c
- $(CC) $(CFLAGS) -c $< -o $@
-@@ -31,13 +33,19 @@
-
- .PHONY: install
- install: $(lib_a) $(lib_so)
-- cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a)
-- cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so)
-- for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done
-+ mkdir -p $(DESTDIR)$(PREFIX)/$(libdir) $(DESTDIR)$(PREFIX)/include
-+ cp $(lib_a) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_a)
-+ cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink)
-+ ln -s $(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname)
-+ ln -s $(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink)
-+ for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done
-
- .PHONY: uninstall
- uninstall:
-- rm -f $(PREFIX)/$(libdir)/$(lib_a)
-- rm -f $(PREFIX)/$(libdir)/$(lib_so)
-- for i in $(hdr); do rm -f $(PREFIX)/include/$$i; done
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_a)
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname)
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink)
-+ for i in $(hdr); do rm -f $(DESTDIR)$(PREFIX)/include/$$i; done
-
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2015-01-10 08:15:07 UTC (rev 228875)
+++ extra-i686/PKGBUILD 2015-01-10 08:15:17 UTC (rev 228876)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Jan Hambrecht <jaham at gmx dot net>
-
-pkgname=libspnav
-pkgver=0.2.2
-pkgrel=5
-pkgdesc="Alternative to the proprietary 3Dconnexion device driver and SDK for their 3D input devices"
-arch=('i686' 'x86_64')
-url="http://spacenav.sourceforge.net/"
-license=('GPL')
-depends=('glibc')
-makedepends=('libx11')
-source=("http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz"
- 'Makefile.patch')
-md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae'
- 'cc008ea9f5e1abb870c0e2dbc86c3b86')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/Makefile.patch
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --disable-debug
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
Copied: libspnav/repos/extra-i686/PKGBUILD (from rev 228875, libspnav/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2015-01-10 08:15:17 UTC (rev 228876)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Jan Hambrecht <jaham at gmx dot net>
+
+pkgname=libspnav
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Alternative to the proprietary 3Dconnexion device driver and SDK for their 3D input devices"
+arch=('i686' 'x86_64')
+url='http://spacenav.sourceforge.net/'
+license=('GPL')
+depends=('libx11')
+source=("http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz"
+ 'Makefile.patch')
+md5sums=('44d840540d53326d4a119c0f1aa7bf0a'
+ 'aa7575aff0453cedff30030369576083')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/Makefile.patch
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --disable-debug
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # Remove static lib
+ rm "${pkgdir}"/usr/lib/libspnav.a
+}
Deleted: extra-x86_64/Makefile.patch
===================================================================
--- extra-x86_64/Makefile.patch 2015-01-10 08:15:07 UTC (rev 228875)
+++ extra-x86_64/Makefile.patch 2015-01-10 08:15:17 UTC (rev 228876)
@@ -1,51 +0,0 @@
---- libspnav-0.2.2/Makefile.in 2010-03-28 00:24:27.000000000 +0100
-+++ a/trunk/libspnav/Makefile.in 2014-03-05 15:33:07.590597866 +0100
-@@ -4,10 +4,12 @@
- lib_a = libspnav.a
- soname = libspnav.so.0
- lib_so = $(soname).1
-+devlink = libspnav.so
-
- CC = gcc
- AR = ar
--CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I.
-+CFLAGS = $(opt) $(dbg) -std=c89 -fpic -pedantic -Wall -fno-strict-aliasing -I. -I/usr/local/include $(user_cflags)
-+LDFLAGS = $(user_ldflags)
-
- .PHONY: all
- all: $(lib_a) $(lib_so)
-@@ -16,7 +18,7 @@
- $(AR) rcs $@ $(obj)
-
- $(lib_so): $(obj)
-- $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj)
-+ $(CC) -shared -Wl,-soname,$(soname) -o $@ $(obj) $(LDFLAGS)
-
- %.o: $(srcdir)/%.c
- $(CC) $(CFLAGS) -c $< -o $@
-@@ -31,13 +33,19 @@
-
- .PHONY: install
- install: $(lib_a) $(lib_so)
-- cp $(lib_a) $(PREFIX)/$(libdir)/$(lib_a)
-- cp $(lib_so) $(PREFIX)/$(libdir)/$(lib_so)
-- for h in $(hdr); do cp -p $(srcdir)/$$h $(PREFIX)/include/; done
-+ mkdir -p $(DESTDIR)$(PREFIX)/$(libdir) $(DESTDIR)$(PREFIX)/include
-+ cp $(lib_a) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_a)
-+ cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink)
-+ ln -s $(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname)
-+ ln -s $(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink)
-+ for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done
-
- .PHONY: uninstall
- uninstall:
-- rm -f $(PREFIX)/$(libdir)/$(lib_a)
-- rm -f $(PREFIX)/$(libdir)/$(lib_so)
-- for i in $(hdr); do rm -f $(PREFIX)/include/$$i; done
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_a)
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname)
-+ rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink)
-+ for i in $(hdr); do rm -f $(DESTDIR)$(PREFIX)/include/$$i; done
-
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2015-01-10 08:15:07 UTC (rev 228875)
+++ extra-x86_64/PKGBUILD 2015-01-10 08:15:17 UTC (rev 228876)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Jan Hambrecht <jaham at gmx dot net>
-
-pkgname=libspnav
-pkgver=0.2.2
-pkgrel=5
-pkgdesc="Alternative to the proprietary 3Dconnexion device driver and SDK for their 3D input devices"
-arch=('i686' 'x86_64')
-url="http://spacenav.sourceforge.net/"
-license=('GPL')
-depends=('glibc')
-makedepends=('libx11')
-source=("http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz"
- 'Makefile.patch')
-md5sums=('b85a0f4ab711e2d4f73a40e2e371f5ae'
- 'cc008ea9f5e1abb870c0e2dbc86c3b86')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}"/Makefile.patch
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --disable-debug
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
Copied: libspnav/repos/extra-x86_64/PKGBUILD (from rev 228875, libspnav/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2015-01-10 08:15:17 UTC (rev 228876)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Jan Hambrecht <jaham at gmx dot net>
+
+pkgname=libspnav
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="Alternative to the proprietary 3Dconnexion device driver and SDK for their 3D input devices"
+arch=('i686' 'x86_64')
+url='http://spacenav.sourceforge.net/'
+license=('GPL')
+depends=('libx11')
+source=("http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz"
+ 'Makefile.patch')
+md5sums=('44d840540d53326d4a119c0f1aa7bf0a'
+ 'aa7575aff0453cedff30030369576083')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p1 -i "${srcdir}"/Makefile.patch
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --disable-debug
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ # Remove static lib
+ rm "${pkgdir}"/usr/lib/libspnav.a
+}
More information about the arch-commits
mailing list