mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-09 00:05:46 +00:00
Add packaging for jammy amd64
This commit is contained in:
12
Packaging/Linux/build-debian-amd64.sh
Normal file
12
Packaging/Linux/build-debian-amd64.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
mkdir -p build
|
||||
cd build
|
||||
mkdir build-deb-amd64
|
||||
cmake -S ../../../ -B build-deb-amd64 -DCMAKE_INSTALL_PREFIX=/usr
|
||||
cd build-deb-amd64
|
||||
make -j`nproc`
|
||||
make install DESTDIR=../tessesframework_1.0.0_amd64
|
||||
mkdir -p ../tessesframework_1.0.0_amd64/DEBIAN
|
||||
cp ../../debian/control-amd64 ../tessesframework_1.0.0_amd64/DEBIAN/control
|
||||
cd ../
|
||||
dpkg-deb --build tessesframework_1.0.0_amd64
|
||||
8
Packaging/Linux/debian/control-amd64
Normal file
8
Packaging/Linux/debian/control-amd64
Normal file
@@ -0,0 +1,8 @@
|
||||
Package: tessesframework
|
||||
Version: 1.0.0
|
||||
Architecture: amd64
|
||||
Essential: no
|
||||
Priority: optional
|
||||
Depends: libmbedtls-dev
|
||||
Maintainer: Mike Nolan
|
||||
Description: A cross platform wrapper library
|
||||
6
Packaging/Linux/push-debian-amd64.sh
Normal file
6
Packaging/Linux/push-debian-amd64.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
curl --user tesses50:$GITEA_AUTH -X DELETE \
|
||||
https://git.tesseslanguage.com/api/packages/tesses50/debian/pool/jammy/main/tessesframework/1.0.0/amd64
|
||||
curl --user tesses50:$GITEA_AUTH \
|
||||
--upload-file build/tessesframework_1.0.0_amd64.deb \
|
||||
https://git.tesseslanguage.com/api/packages/tesses50/debian/pool/jammy/main/upload
|
||||
Reference in New Issue
Block a user