From e09b474e2e9fb9ae87536bdce5c8df3c5f8006ee Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 17 Oct 2023 22:02:25 +0800 Subject: import(teapot): Startup! --- works/teapot/script/build-deb.bash | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 works/teapot/script/build-deb.bash (limited to 'works/teapot/script/build-deb.bash') diff --git a/works/teapot/script/build-deb.bash b/works/teapot/script/build-deb.bash new file mode 100755 index 0000000..954d026 --- /dev/null +++ b/works/teapot/script/build-deb.bash @@ -0,0 +1,12 @@ +set -e + +mkdir -p build +pushd build +cmake .. "-DCMAKE_BUILD_TYPE=RelWithDebInfo" +make +mkdir -p package +cmake --install . --prefix ./package/ +mkdir -p package/DEBIAN +cp ../debian/control ./package/DEBIAN/control +dpkg-deb --root-owner-group --build package +popd -- cgit v1.2.3