Skip to content

Commit

Permalink
flex: Fix recipe because it was broken
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Oct 15, 2015
1 parent bdf66ed commit 8cd3bc6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
11 changes: 1 addition & 10 deletions flex/build.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
#!/bin/bash

# gstreamer expects libffi.la to be in lib64 for some reason.
mkdir $PREFIX/lib64
cp -r $LIBRARY_PATH/libffi* $PREFIX/lib64
ls $PREFIX/lib64

# The datarootdir option places the docs into a temp folder that won't
# be included in the package (it is about 12MB).
./configure --disable-examples --prefix="$PREFIX" --datarootdir=`pwd`/tmpshare
./configure --prefix="$PREFIX"
make
make install

# Remove the created lib64 directory
rm -rf $PREFIX/lib64
10 changes: 7 additions & 3 deletions flex/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ source:
url: http://sourceforge.net/projects/flex/files/flex-2.5.39.tar.gz
md5: e133e9ead8ec0a58d81166b461244fde

about:
home: http://flex.sourceforge.net/
license: BSD
build:
number: 1
detect_binary_files_with_prefix: true

requirements:
build:
Expand All @@ -18,3 +18,7 @@ requirements:
run:
- m4

about:
home: http://flex.sourceforge.net/
license: BSD

0 comments on commit 8cd3bc6

Please sign in to comment.