mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
45 lines
1.6 KiB
Makefile
45 lines
1.6 KiB
Makefile
################################################################################
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
|
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
|
#
|
|
# OpenELEC is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# OpenELEC is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
################################################################################
|
|
|
|
PKG_NAME="flex"
|
|
PKG_VERSION="2.5.39"
|
|
PKG_REV="1"
|
|
PKG_ARCH="any"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="http://flex.sourceforge.net/"
|
|
PKG_URL="$SOURCEFORGE_SRC/flex/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
|
PKG_DEPENDS_HOST="ccache:host"
|
|
PKG_PRIORITY="optional"
|
|
PKG_SECTION="toolchain/devel"
|
|
PKG_SHORTDESC="flex: Fast lexical analyzer generator"
|
|
PKG_LONGDESC="flex is a tool for generating programs that perform pattern-matching on text."
|
|
|
|
PKG_IS_ADDON="no"
|
|
PKG_AUTORECONF="no"
|
|
|
|
PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared --disable-rpath --with-gnu-ld"
|
|
|
|
post_makeinstall_host() {
|
|
cat > $ROOT/$TOOLCHAIN/bin/lex << "EOF"
|
|
#!/bin/sh
|
|
exec flex "$@"
|
|
EOF
|
|
|
|
chmod -v 755 $ROOT/$TOOLCHAIN/bin/lex
|
|
}
|