]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
ncurses: Use configure && make from template.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Feb 2011 14:01:10 +0000 (15:01 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Feb 2011 14:01:10 +0000 (15:01 +0100)
pkgs/core/ncurses/ncurses.nm

index 251a8f1cabe4cdea269facf12d4011421728fb80..487c89994d72473190ad4ce58a5e763a5bba2dc4 100644 (file)
@@ -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