diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-12 10:32:36 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-12 10:32:36 +0000 |
commit | 8f741f731de86848d753c5e2a2e28de4f635138f (patch) | |
tree | 154ac27989a2bf9e6fc0cf9fa483f947eb0486c3 | |
parent | 600c40922b2b12f63657289aafb08154d418afe1 (diff) | |
download | flex-8f741f731de86848d753c5e2a2e28de4f635138f.tar.gz |
add morph
-rw-r--r-- | flex.morph | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/flex.morph b/flex.morph new file mode 100644 index 0000000..c9f8161 --- /dev/null +++ b/flex.morph @@ -0,0 +1,17 @@ +{ + "name": "flex", + "kind": "chunk", + "configure-commands": [ + "./autogen.sh", + "./configure --prefix=/usr" + ], + "build-commands": [ + "make" + ], + "install-commands": [ + "make install", + "ln -sv libfl.a \"$DESTDIR/usr/lib/libl.a\"", + "echo '#!/bin/sh' >\"$DESTDIR/usr/bin/lex\"", + "echo 'exec /usr/bin/flex -l \"$@\"' >>\"$DESTDIR/usr/bin/lex\"" + ] +} |