PATCH_LIST=0001-fix-run-directory.diff FILE_LIST= SRC_FETCH_METHOD=http SRC_FETCH_PATH=https://github.com/lvmteam/lvm2/archive/v${PKGVER}.tar.gz MAKEDEPENDS=("libaio-*:::*.a *.h") # format : # MAKEDEPENDS='packagename:versfx:architecture:globbing' # # exemple : # MAKEDEPENDS='tplparser-0local-flx0.0:albdev:i586:*.a *.h' function do_config { # Sometimes, broken packages will need LD="$CC" CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ PKG_CONFIG=/bin/false \ ac_cv_func_malloc_0_nonnull=yes \ ac_cv_func_realloc_0_nonnull=yes \ ./configure \ --build=${FLXHOST} --host=${FLXTARG} \ --prefix=/usr --sysconfdir=/etc \ --disable-nls --with-optimisation="$GCC_OPT_SMALL" \ --with-cluster=none --with-snapshots=none --with-mirrors=none \ --with-thin=none --with-cache=none --with-clvmd=none \ --disable-fsadm --disable-blkdeactivate \ --disable-selinux --disable-blkid_wiping \ --disable-udev-systemd-background-jobs --disable-realtime \ --disable-use-lvmlockd --disable-use-lvmetad \ --disable-use-lvmpolld --disable-thin_check_needs_check \ --disable-cache_check_needs_check # CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ } function do_compile_only { # parallel make $FLXPMAKE } function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR set_default_perm $ROOTDIR }