summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/flex/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-13 21:49:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-13 21:49:06 (GMT)
commitff3e0d4dd1ba9399dee4f4d750b182b1a7ec2bcb (patch)
treef778cbea3addffd031149bcc26a39c4fddb4f8c2 /abs/core-testing/flex/PKGBUILD
parent01b43374bedce480c7389c550d074f209c2e1df0 (diff)
downloadlinhes_pkgbuild-ff3e0d4dd1ba9399dee4f4d750b182b1a7ec2bcb.zip
linhes_pkgbuild-ff3e0d4dd1ba9399dee4f4d750b182b1a7ec2bcb.tar.gz
linhes_pkgbuild-ff3e0d4dd1ba9399dee4f4d750b182b1a7ec2bcb.tar.bz2
Adding flex
Diffstat (limited to 'abs/core-testing/flex/PKGBUILD')
-rw-r--r--abs/core-testing/flex/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/core-testing/flex/PKGBUILD b/abs/core-testing/flex/PKGBUILD
new file mode 100644
index 0000000..f36300f
--- /dev/null
+++ b/abs/core-testing/flex/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 3606 2008-06-26 00:29:52Z paul $
+# Maintainer: judd <jvinet@zeroflux.org>
+pkgname=flex
+pkgver=2.5.35
+pkgrel=1
+pkgdesc="A tool for generating text-scanning programs"
+arch=(i686 x86_64)
+url="http://flex.sourceforge.net"
+license=('custom')
+groups=('base-devel')
+depends=('glibc' 'sh')
+source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.bz2
+ lex.sh)
+md5sums=('10714e50cea54dc7a227e3eddcd44d57' 'f725259ec23a9e87ee29e2ef82eda9a5')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver || return 1
+
+ # configure
+ ./configure --prefix=/usr --mandir=/usr/share/man || return 1
+
+ # build and install
+ make || return 1
+ make prefix=$startdir/pkg/usr mandir=$startdir/pkg/usr/share/man install || return 1
+ install -D -m755 $startdir/src/lex.sh $startdir/pkg/usr/bin/lex || return 1
+
+ # install license
+ install -D -m644 COPYING \
+ $startdir/pkg/usr/share/licenses/$pkgname/license.txt || return 1
+}