New package: unixodbc-2.3.1.

This commit is contained in:
Juan RP 2013-06-16 18:55:39 +02:00
parent de76d59fd5
commit 83649d274c
4 changed files with 40 additions and 0 deletions

View File

@ -1266,3 +1266,5 @@ libkdecore.so.5 kdelibs-4.10.4_1
libclucene-core.so.1 clucene-2.3.3.4_1
libclucene-shared.so.1 clucene-2.3.3.4_1
libclucene-contribs-lib.so.1 clucene-2.3.3.4_1
libodbcinst.so.2 libodbc-2.3.1_1
libodbc.so.2 libodbc-2.3.1_1

1
srcpkgs/libodbc Symbolic link
View File

@ -0,0 +1 @@
unixodbc

1
srcpkgs/unixodbc-devel Symbolic link
View File

@ -0,0 +1 @@
unixodbc

36
srcpkgs/unixodbc/template Normal file
View File

@ -0,0 +1,36 @@
# Template file for 'unixodbc'
pkgname=unixodbc
version=2.3.1
revision=1
wrksrc="unixODBC-${version}"
build_style=gnu-configure
makedepends="libltdl-devel readline-devel"
short_desc="Basic ODBC tools"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.unixodbc.org"
distfiles="http://www.unixodbc.org/unixODBC-${version}.tar.gz"
checksum=1f5be3edecff9e31072ef738ea1d8019594c4f0c2e3ab427e6eef153491db6a2
libodbc_package() {
short_desc="ODBC library for Unix"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
unixodbc-devel_package() {
short_desc="ODBC library for Unix - development files"
depends="libodbc-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}
unixodbc_package() {
conf_files="/etc/odbcinst.ini /etc/odbc.ini"
pkg_install() {
vmove all
}
}