1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
29 lines
779 B
Bash
29 lines
779 B
Bash
# Template file for 'unixodbc'
|
|
pkgname=unixodbc
|
|
version=2.3.2
|
|
revision=1
|
|
wrksrc="unixODBC-${version}"
|
|
build_style=gnu-configure
|
|
makedepends="libltdl-devel readline-devel"
|
|
conf_files="/etc/odbcinst.ini /etc/odbc.ini"
|
|
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=9c3459742f25df5aa3c10a61429bde51a6d4f11552c03095f1d33d7eb02b5c9a
|
|
|
|
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"
|
|
}
|
|
}
|