generated from general-packages/pika-pkg-template
Compare commits
1 Commits
main
...
feat/cybik
Author | SHA1 | Date | |
---|---|---|---|
4402628de5 |
2
.github/build-nest-v3
vendored
2
.github/build-nest-v3
vendored
@ -1 +1 @@
|
||||
23
|
||||
22
|
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,9 +1,3 @@
|
||||
sbctl (0.16.0-101pika2) pika; urgency=low
|
||||
|
||||
* Build proper version sources
|
||||
|
||||
-- cybik <root@cybik.moe> Wed, 13 Nov 2024 11:15:00 -0800
|
||||
|
||||
sbctl (0.16.0-101pika1) pika; urgency=low
|
||||
|
||||
* Upstream release
|
||||
|
12
main.sh
12
main.sh
@ -12,7 +12,7 @@ VERSION="0.16"
|
||||
UPSTREAM_NAME="sbctl"
|
||||
|
||||
# Checkout and munch
|
||||
git clone https://github.com/Foxboron/sbctl.git "${UPSTREAM_NAME}" -b "${VERSION}"
|
||||
git clone https://github.com/Foxboron/sbctl.git "${UPSTREAM_NAME}"
|
||||
cp -rvf ./debian ./${UPSTREAM_NAME}/
|
||||
|
||||
# easier than figuring out the right way to override the prefix in the makefile
|
||||
@ -22,16 +22,8 @@ sed -i "s/\$(PREFIX)\/bin/\$(PREFIX)\/sbin/" "${UPSTREAM_NAME}/Makefile"
|
||||
# Get in there.
|
||||
pushd "./${UPSTREAM_NAME}/" || exit 1
|
||||
|
||||
# Clever way to auto-add a .0 if the upstream version is not semver
|
||||
VER_PER_COUNT="${VERSION//[^\.]}"
|
||||
if (( ${#VER_PER_COUNT} < 2 )); then
|
||||
TRUE_VERSION="${VERSION}.0"
|
||||
else
|
||||
TRUE_VERSION="${VERSION}"
|
||||
fi
|
||||
|
||||
# Get build deps
|
||||
LOGNAME=root dh_make --createorig -y -l -p "${UPSTREAM_NAME}_$TRUE_VERSION" || echo "dh-make: Ignoring Last Error"
|
||||
LOGNAME=root dh_make --createorig -y -l -p ${UPSTREAM_NAME}_"$VERSION" || echo "dh-make: Ignoring Last Error"
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
# Build package
|
||||
|
@ -1,10 +1,10 @@
|
||||
#! /bin/bash
|
||||
export PIKA_BUILD_ARCH="amd64-v3"
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto=auto"
|
||||
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto=auto"
|
||||
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"
|
||||
export DEB_BUILD_OPTIONS="nocheck notest terse"
|
||||
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
|
||||
|
Loading…
Reference in New Issue
Block a user