New package: libspnav-0.2.3
This commit is contained in:
parent
01c31c3fd9
commit
75cdae3ea4
|
@ -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
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
libspnav
|
|
@ -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
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue