New package: qqwing-1.3.4

This commit is contained in:
Jürgen Buchmüller 2015-08-16 17:11:01 +02:00
parent 148abb184b
commit 000edc0e93
3 changed files with 60 additions and 0 deletions

View file

@ -2128,3 +2128,4 @@ libCEGUIIrrlichtRenderer-0.so.2 cegui-0.8.4_1
libCEGUICommonDialogs-0.so.2 cegui-0.8.4_1
libct.so.4 freetds-0.95.19_1
libsybdb.so.5 freetds-0.95.19_1
libqqwing.so.2 qqwing-1.3.4_1

1
srcpkgs/qqwing-devel Symbolic link
View file

@ -0,0 +1 @@
qqwing

58
srcpkgs/qqwing/template Normal file
View file

@ -0,0 +1,58 @@
# Template file for 'qqwing'
pkgname=qqwing
version=1.3.4
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
short_desc="Sudoku generating and solving library"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://qqwing.com/"
distfiles="https://github.com/stephenostermiller/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=dc5d61b4470862b190d437f8143d4090639c164d34461c4caa5c081c5c91e6cc
do_configure() {
cd ${wrksrc}
mkdir -p target/automake
cp build/configure.ac build/Makefile.am build/qqwing.pc.in doc/README doc/AUTHORS doc/COPYING target/automake
cp doc/qqwing.man target/automake/qqwing.1
cd target/automake
autoreconf -if
./configure ${configure_args}
}
do_build() {
cd ${wrksrc}
build/cpp_compile.sh
}
do_install() {
cd ${wrksrc}
cd target/automake
# Install manual page
vman qqwing.1
# Install include file
vmkdir usr/include
vcopy qqwing.hpp usr/include
# Install pkgconfig file
vmkdir usr/lib/pkgconfig
vcopy qqwing.pc usr/lib/pkgconfig
# Install binary
vbin qqwing
# Install shared libraries
vmkdir usr/lib
vcopy ".libs/libqqwing.so*" usr/lib
}
qqwing-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}