New package: libspnav-0.2.3

This commit is contained in:
yopito 2016-05-22 23:54:09 +02:00 committed by Toyam Cox
parent 01c31c3fd9
commit 75cdae3ea4
4 changed files with 45 additions and 0 deletions

View File

@ -2481,3 +2481,4 @@ liblttng-ust-cyg-profile-fast.so.0 lttng-ust-2.7.2_1
liblttng-ust-dl.so.0 lttng-ust-2.7.2_1
liblttng-ust-tracepoint.so.0 lttng-ust-2.7.2_1
libtwaindsm.so.2 twaindsm-2.3.0_1
libspnav.so.0 libspnav-0.2.3_1

1
srcpkgs/libspnav-devel Symbolic link
View File

@ -0,0 +1 @@
libspnav

View File

@ -0,0 +1,16 @@
Fix link generation of .so files
Source: https://git.archlinux.org/svntogit/packages.git/plain/trunk/Makefile.patch?h=packages/libspnav
--- Makefile.in~ 2015-01-10 09:08:35.043417955 +0000
+++ Makefile.in 2015-01-10 09:09:00.833315269 +0000
@@ -54,8 +54,8 @@
cp $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so)
[ -n "$(soname)" ] && \
rm -f $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) && \
- ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
- ln -s $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
+ ln -s $(lib_so) $(DESTDIR)$(PREFIX)/$(libdir)/$(soname) && \
+ ln -s $(soname) $(DESTDIR)$(PREFIX)/$(libdir)/$(devlink) || \
true
for h in $(hdr); do cp -p $(srcdir)/$$h $(DESTDIR)$(PREFIX)/include/; done

27
srcpkgs/libspnav/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'libspnav'
pkgname=libspnav
version=0.2.3
revision=1
build_style=gnu-configure
configure_args="--disable-opt"
makedepends="libX11-devel"
short_desc="Open source alternative to 3DConnextion drivers"
maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-3"
homepage="http://spacenav.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/spacenav/${pkgname}-${version}.tar.gz"
checksum=7ae4d7bb7f6a5dda28b487891e01accc856311440f582299760dace6ee5f1f93
do_build() {
make CC="${CC}" AR="${AR}"
}
libspnav-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}