From: Michael Tremer Date: Sun, 6 Feb 2011 14:01:10 +0000 (+0100) Subject: ncurses: Use configure && make from template. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60afce8412c32f212c865a031ce19450ebe26231;p=ipfire-3.x.git ncurses: Use configure && make from template. --- diff --git a/pkgs/core/ncurses/ncurses.nm b/pkgs/core/ncurses/ncurses.nm index 251a8f1ca..487c89994 100644 --- a/pkgs/core/ncurses/ncurses.nm +++ b/pkgs/core/ncurses/ncurses.nm @@ -47,24 +47,16 @@ PKG_TARBALL = $(THISAPP).tar.gz PKG_PACKAGES += $(PKG_NAME_REAL)-devel -define STAGE_BUILD - cd $(DIR_APP) && \ - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - --with-shared \ - --without-debug \ - --enable-widec \ - --disable-static \ - --enable-symlinks \ - --disable-root-environ - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) -endef - -define STAGE_INSTALL - cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) +CONFIGURE_OPTIONS += \ + --mandir=/usr/share/man \ + --with-shared \ + --without-debug \ + --enable-widec \ + --disable-static \ + --enable-symlinks \ + --disable-root-environ +define STAGE_INSTALL_CMDS -mkdir -pv $(BUILDROOT)/lib mv -v $(BUILDROOT)/usr/lib/libncursesw.so.5* $(BUILDROOT)/lib ln -sfv ../../lib/libncursesw.so.5 $(BUILDROOT)/usr/lib/libncursesw.so