]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
pcre: Clean up Naoki-Makefile.
authorSchantl Stefan <Stevee@ipfire.org>
Thu, 1 Jul 2010 16:27:12 +0000 (18:27 +0200)
committerSchantl Stefan <Stevee@ipfire.org>
Thu, 1 Jul 2010 16:27:12 +0000 (18:27 +0200)
pkgs/core/pcre/pcre.nm

index 1b8b7faca5763b2f92d5a0a1d250df79ae618683..416c73a886f5ae526b025385c17bae46ddfd0d42 100644 (file)
@@ -44,19 +44,14 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
-CONFIGURE_OPTIONS += --docdir=/usr/share/doc/pcre-$(PKG_VER) \
+CONFIGURE_OPTIONS += \
+       --docdir=/usr/share/doc/pcre-$(PKG_VER) \
        --enable-utf8 \
        --enable-pcregrep-libz \
        --enable-pcregrep-libbz2 \
        --enable-unicode-properties
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_INSTALL
-       cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
-
+define STAGE_INSTALL_CMDS
        -mkdir -pv $(BUILDROOT)/{,usr/}lib
        mv -v $(BUILDROOT)/usr/lib/libpcre.so.* $(BUILDROOT)/lib/
        ln -v -sf ../../lib/libpcre.so.0 $(BUILDROOT)/usr/lib/libpcre.so