summaryrefslogtreecommitdiff
path: root/sources/flex/flex.spec
diff options
context:
space:
mode:
Diffstat (limited to 'sources/flex/flex.spec')
-rw-r--r--sources/flex/flex.spec21
1 files changed, 21 insertions, 0 deletions
diff --git a/sources/flex/flex.spec b/sources/flex/flex.spec
new file mode 100644
index 0000000..dbf0ee6
--- /dev/null
+++ b/sources/flex/flex.spec
@@ -0,0 +1,21 @@
+# Maintainer: Alexander Hill <ahill@breadpudding.dev>
+SRC_HASH="e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
+SRC_NAME="flex"
+SRC_URL="https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz"
+SRC_VERSION="2.6.4"
+
+build() {
+ tar xf ../$SRC_FILENAME
+ cd flex-*/
+ ./configure $TT_AUTOCONF_COMMON --disable-static
+ make -O -j $TT_PROCS
+}
+
+clean() {
+ rm -rf flex-*/
+}
+
+package() {
+ cd flex-*/
+ make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
+} \ No newline at end of file