New package: freetds-0.95.19

This commit is contained in:
Diogo Leal 2015-08-05 14:53:05 -03:00 committed by Juan RP
parent 79c8638d53
commit d7856cf4d0
5 changed files with 45 additions and 0 deletions

View file

@ -2126,3 +2126,5 @@ libCEGUIOpenGLRenderer-0.so.2 cegui-0.8.4_1
libCEGUIOgreRenderer-0.so.2 cegui-0.8.4_1
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

1
srcpkgs/freetds-devel Symbolic link
View file

@ -0,0 +1 @@
freetds

1
srcpkgs/freetds-doc Symbolic link
View file

@ -0,0 +1 @@
freetds

View file

@ -0,0 +1,10 @@
--- src/apps/tsql.c.orig 2015-08-04 22:10:02.270430495 -0300
+++ src/apps/tsql.c 2015-08-04 22:10:31.454429193 -0300
@@ -22,6 +22,7 @@
#include <freetds/time.h>
+#include <getopt.h>
#include <stdio.h>
#include <assert.h>
#include <ctype.h>

31
srcpkgs/freetds/template Normal file
View file

@ -0,0 +1,31 @@
# Template file for 'freetds'
pkgname=freetds
version=0.95.19
revision=1
build_style=gnu-configure
conf_files="/etc/freetds.conf /etc/locales.conf /etc/pool.conf"
short_desc="An implementation of the Tabular DataStream protocol"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="LGPL-3"
homepage="http://www.freetds.org/"
distfiles="ftp://ftp.freetds.org/pub/freetds/stable/${pkgname}-${version}.tar.gz"
checksum=4c847f0c43734489ffc6ea8c5eb66e2a24e7a1ba4287acd24b2950f8b2eb7590
freetds-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/include
}
}
freetds-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
noarch=yes
pkg_install() {
vmove /usr/share/doc
}
}