]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/slang
Starte SSH-Server beim Boot.
[people/pmueller/ipfire-2.x.git] / lfs / slang
index 036660a1cc76ae8996593427118f0489b256ea07..371218b809da1ebfd23f354dcb98c6050764c88f 100644 (file)
--- a/lfs/slang
+++ b/lfs/slang
@@ -77,16 +77,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
 ifeq "$(LFS_PASS)" "install"
-       -mkdir -p /install/lib
-       cd $(DIR_APP) && sed -i -e 's/libslang.a:/libslang.a:\ $$(OBJS)/' Makefile
-       cd $(DIR_APP) && CFLAGS="-Os -fomit-frame-pointer -Wall -fPIC" make -e libslang.a
-       cd $(DIR_APP) && install -m 0644 libslang.a /install/lib
-       -mkdir -p /install/include/slang
-       cd $(DIR_APP) && install -m 0644 slang.h slcurses.h /install/include/slang
+       cd $(DIR_APP) && ./configure --prefix=""
+       cd $(DIR_APP)/src && patch < $(DIR_SRC)/src/patches/slang-$(VER)-uclibc.patch
+       cd $(DIR_APP)/src && make $(MAKETUNING)
+       cd $(DIR_APP)/src && make install DESTDIR="/opt/$(MACHINE)-uClibc"
 else
        cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
-       cd $(DIR_APP) && make
-       cd $(DIR_APP) && make elf
+       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && make elf $(MAKETUNING)
        cd $(DIR_APP) && make install-elf
        cd $(DIR_APP) && chmod -v 755 /usr/lib/libslang.so.2.0.6
 endif