mirror of
https://github.com/dslm4515/BMLFS.git
synced 2025-07-29 12:50:10 +00:00
Upgraded gptfdisk to 1.0.5
This commit is contained in:
@ -1,9 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# gptfdisk-1.0.4
|
|
||||||
# source: https://downloads.sourceforge.net/gptfdisk/gptfdisk-1.0.4.tar.gz
|
|
||||||
|
|
||||||
patch -Np1 -i ../patches/gptfdisk-1.0.4-convenience-1.patch &&
|
|
||||||
|
|
||||||
read -p "Compile? " && make -j2 &&
|
|
||||||
read -p "Install? " && sudo -S porg -lD "make install"
|
|
45
build-scripts/gptfdisk.build
Normal file
45
build-scripts/gptfdisk.build
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# gptfdisk
|
||||||
|
# Source: https://downloads.sourceforge.net/gptfdisk/gptfdisk-1.0.5.tar.gz
|
||||||
|
#
|
||||||
|
# $BUILD = Directory to temporarily install
|
||||||
|
# $PKGS = Directory to store built packages
|
||||||
|
#
|
||||||
|
# DEPS
|
||||||
|
# Required: popt
|
||||||
|
# Recommended: NONE
|
||||||
|
# Optional: ICU
|
||||||
|
|
||||||
|
patch -Np1 -i ../patches/gptfdisk-lfs/gptfdisk-1.0.5-convenience-1.patch &&
|
||||||
|
sed -i 's|ncursesw/||' gptcurses.cc &&
|
||||||
|
|
||||||
|
read -p "Compile?" && make -j2 &&
|
||||||
|
|
||||||
|
sudo -S make DESTDIR=$BUILD install &&
|
||||||
|
|
||||||
|
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
|
||||||
|
cat > /tmp/slack-desc << "EOF"
|
||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|'
|
||||||
|
# on the right side marks the last column you can put a character in. You must
|
||||||
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
gptfdisk: gptfdisk (GPT fdisk utilities)
|
||||||
|
gptfdisk:
|
||||||
|
gptfdisk: GPT fdisk (consisting of the gdisk, cgdisk, sgdisk, and fixparts
|
||||||
|
gptfdisk: programs) is a set of text-mode partitioning tools for using a GPT
|
||||||
|
gptfdisk: (GUID Partition Table), rather than the traditional MBR (Master Boot
|
||||||
|
gptfdisk: Record) partition tables. It features several partitioning tools,
|
||||||
|
gptfdisk: recovery tools to help you deal with corrupt partition tables, and the
|
||||||
|
gptfdisk: ability to convert MBR disks to GPT format.
|
||||||
|
gptfdisk:
|
||||||
|
gptfdisk: gptfdisk home: http://sourceforge.net/projects/gptfdisk/
|
||||||
|
gptfdisk:
|
||||||
|
EOF
|
||||||
|
sudo -S mv -v /tmp/slack-desc install/ &&
|
||||||
|
sudo -S makepkg -l y -c n $PKGS/gptfdisk-1.0.5-$(uname -m)-mlfs.txz &&
|
||||||
|
sudo -S rm -rf ${BUILD}/*
|
Reference in New Issue
Block a user