summaryrefslogtreecommitdiffstats
path: root/extra/ruby/APKBUILD
diff options
context:
space:
mode:
authorCarlo Lanmdeter <clandmeter@gmail>2009-03-03 14:08:18 +0000
committerCarlo Lanmdeter <clandmeter@gmail>2009-03-03 14:08:18 +0000
commit09a3388fd53f5dec27bd3846d40764b6d837cf2b (patch)
treeac1342be1bb6adfeb3ce42fabc4591fbd65cb89e /extra/ruby/APKBUILD
parent31c6044bb422335221a47daf64e1c18ff300b821 (diff)
downloadaports-09a3388fd53f5dec27bd3846d40764b6d837cf2b.tar.bz2
aports-09a3388fd53f5dec27bd3846d40764b6d837cf2b.tar.xz
extra/ruby: new aport
Diffstat (limited to 'extra/ruby/APKBUILD')
-rw-r--r--extra/ruby/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/ruby/APKBUILD b/extra/ruby/APKBUILD
new file mode 100644
index 000000000..0344fb3c6
--- /dev/null
+++ b/extra/ruby/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
+pkgname=ruby
+pkgver=1.8.7_p72
+_pkgver=1.8.7-p72
+pkgrel=1
+pkgdesc="An object-oriented language for quick and easy programming"
+url="http://www.ruby-lang.org/en/"
+license="Ruby"
+depends="zlib openssl libiconv gdbm db readline"
+makedepends="zlib-dev openssl-dev libiconv-dev gdbm-dev db-dev readline-dev"
+subpackages="$pkgname-doc $pkgname-dev"
+source="ftp://ftp.ruby-lang.org/pub/ruby/1.8/${pkgname}-${_pkgver}.tar.bz2"
+#
+# maybe its a good idea to split dep libs to seperate pkg's.
+#
+build() {
+ cd "$srcdir/$pkgname-${_pkgver}"
+
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --enable-shared
+ make || return 1
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}"/COPYING || return 1
+
+}
+
+md5sums="0b215c46b89b28d7ab8d56d96e72d5b9 ruby-1.8.7-p72.tar.bz2"