@ -6,19 +6,22 @@ include $(TOPDIR)/rules.mk
PKG_NAME := fish
PKG_VERSION := 3.0.2
PKG_RELEASE := 4
PKG_RELEASE := 5
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://github.com/fish-shell/fish-shell/releases/download/$( PKG_VERSION)
PKG_HASH := 14728ccc6b8e053d01526ebbd0822ca4eb0235e6487e832ec1d0d22f1395430e
PKG_MAINTAINER := Curtis Jiang <jqqqqqqqqqq@gmail.com>, Hao Dong <halbertdong@gmail.com>
PKG_LICENSE := GPL-2.0
PKG_LICENSE := GPL-2.0-only
PKG_LICENSE_FILES := COPYING
PKG_CPE_ID := cpe:/a:fishshell:fish
PKG_FIXUP := autoreconf
PKG_INSTAL L := 1
CMAKE_INSTALL := 1
PKG_BUILD_PARALLE L := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
d e f i n e P a c k a g e / f i s h
SECTION:= utils
@ -36,9 +39,6 @@ define Package/fish/description
configuration required.
e n d e f
CONFIGURE_VARS += ac_cv_file__proc_self_stat = yes
TARGET_CXXFLAGS += -std= c++0x
d e f i n e P a c k a g e / f i s h / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/fish $( 1) /usr/bin
@ -55,7 +55,7 @@ grep fish $${IPKG_INSTROOT}/etc/shells || \
echo "/usr/bin/fish" >> $$ { IPKG_INSTROOT} /etc/shells
# Backwards compatibility
if [ [ -e /bin/fish ] ] && ( [ [ ! -L /bin/fish ] ] || [ [ " $( readlink -fn $$ { IPKG_INSTROOT} /bin/fish) " != " ../ $( CONFIGURE_PREFIX) /bin/fish " ] ] ) ; then
if [ -e /bin/fish ] && { [ ! -L /bin/fish ] || [ " $( readlink -fn $$ { IPKG_INSTROOT} /bin/fish) " != " ../ $( CONFIGURE_PREFIX) /bin/fish " ] ; } ; then
ln -fs " ../ $( CONFIGURE_PREFIX) /bin/fish " " $$ {IPKG_INSTROOT}/bin/fish "
fi
e n d e f