refactor variable names according to changes in Pmodules/0.99.15 in build-scripts of group 'System'
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
@@ -5,13 +5,13 @@ pbuild::configure() {
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
|
||||
make -j ${JOBS}
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
mkdir -p ${PREFIX}/bin
|
||||
install -m 0755 fsstress "${PREFIX}/bin"
|
||||
}
|
||||
|
||||
@@ -5,13 +5,13 @@ pbuild::configure() {
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
|
||||
make -j ${JOBS}
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
mkdir -p ${PREFIX}/bin
|
||||
install -m 0755 mdtest "${PREFIX}/bin"
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-libpcap=included \
|
||||
@@ -12,12 +12,12 @@ pbuild::configure() {
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
make -j "${JOBS}"
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
make install
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
"${SRC_DIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
@@ -5,12 +5,12 @@ pbuild::configure() {
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
make
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
install -m 0755 -d "${PREFIX}/bin"
|
||||
install -m 0755 unison "${PREFIX}/bin"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user