aboutsummaryrefslogtreecommitdiffstats
path: root/main/sqsh
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2011-05-25 22:58:22 -0400
committerCarlo Landmeter <clandmeter@gmail.com>2011-05-26 11:40:27 +0000
commit149f03f3704b2e3571da35b5dda4b5125280637a (patch)
treef76127f8b4aac305dfc5c371faff0ad81c341bde /main/sqsh
parente0ac070eaed6564d5fb488dcc6e0d9607d3b76d4 (diff)
downloadaports-149f03f3704b2e3571da35b5dda4b5125280637a.tar.bz2
aports-149f03f3704b2e3571da35b5dda4b5125280637a.tar.xz
main/sqsh: moved from testing
main/sqsh: moved from testing
Diffstat (limited to 'main/sqsh')
-rw-r--r--main/sqsh/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/main/sqsh/APKBUILD b/main/sqsh/APKBUILD
new file mode 100644
index 0000000000..29d727fd9b
--- /dev/null
+++ b/main/sqsh/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Ashton Spencer <aspec.451@gmail.com>
+# Maintainer:
+pkgname=sqsh
+pkgver=2.1.7
+pkgrel=1
+pkgdesc="Sybase iSQL replacement"
+url="http://www.sqsh.org"
+arch="all"
+license="GPL"
+depends="freetds readline"
+depends_dev="freetds-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ SYBASE=/usr
+ export SYBASE
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/doc \
+# --with-x \
+ --with-readline
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install.man || return 1
+}
+
+md5sums="ce929dc8e23cedccac98288d24785e2d sqsh-2.1.7.tar.gz"