-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eric Wheeler
committed
Aug 15, 2024
1 parent
8fce85a
commit 3dc078e
Showing
1 changed file
with
26 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,26 +68,32 @@ jobs: | |
- name: Generate Debian Packaging Files | ||
run: | | ||
if [ ! -d "debian" ]; then | ||
dh_make --createorig -y --single --native --packagename xnec2c_$VERSION | ||
echo -e '#!/usr/bin/make -f\n%:\n\tdh $@' > debian/rules | ||
chmod +x debian/rules | ||
echo "9" > debian/compat | ||
echo "Source: xnec2c" > debian/control | ||
echo "Section: utils" >> debian/control | ||
echo "Priority: optional" >> debian/control | ||
echo "Maintainer: Your Name <[email protected]>" >> debian/control | ||
echo "Build-Depends: debhelper (>= 9), autotools-dev, automake, autoconf, libtool, libgtk-3-dev, libglib2.0-dev, gettext, desktop-file-utils" >> debian/control | ||
echo "Standards-Version: 3.9.6" >> debian/control | ||
echo "Homepage: https://www.example.com" >> debian/control | ||
echo "" >> debian/control | ||
echo "Package: xnec2c" >> debian/control | ||
echo "Architecture: any" >> debian/control | ||
echo "Depends: \${shlibs:Depends}, \${misc:Depends}" >> debian/control | ||
echo "Description: A multi-threaded EM tool to model antenna near- and far-field radiation patterns." >> debian/control | ||
echo " Xnec2c is a high-performance multi-threaded electromagnetic simulation" >> debian/control | ||
echo " package to model antenna near- and far-field radiation patterns for" >> debian/control | ||
echo " Linux and UNIX operating systems." >> debian/control | ||
rm -rf ./debian | ||
dh_make --createorig -y --single --native --packagename xnec2c_$VERSION | ||
echo -e '#!/usr/bin/make -f\n%:\n\tdh $@' > debian/rules | ||
chmod +x debian/rules | ||
echo "9" > debian/compat | ||
echo "Source: xnec2c" > debian/control | ||
echo "Section: utils" >> debian/control | ||
echo "Priority: optional" >> debian/control | ||
echo "Maintainer: Your Name <[email protected]>" >> debian/control | ||
echo "Build-Depends: debhelper (>= 9), autotools-dev, automake, autoconf, libtool, libgtk-3-dev, libglib2.0-dev, gettext, desktop-file-utils" >> debian/control | ||
echo "Standards-Version: 3.9.6" >> debian/control | ||
echo "Homepage: https://www.example.com" >> debian/control | ||
echo "" >> debian/control | ||
echo "Package: xnec2c" >> debian/control | ||
echo "Architecture: any" >> debian/control | ||
echo "Depends: \${shlibs:Depends}, \${misc:Depends}" >> debian/control | ||
echo "Description: A multi-threaded EM tool to model antenna near- and far-field radiation patterns." >> debian/control | ||
echo " Xnec2c is a high-performance multi-threaded electromagnetic simulation" >> debian/control | ||
echo " package to model antenna near- and far-field radiation patterns for" >> debian/control | ||
echo " Linux and UNIX operating systems." >> debian/control | ||
- name: Verify Debian Directory | ||
run: | | ||
if [ ! -f "debian/rules" ]; then | ||
echo "Error: debian/rules file not found!" | ||
exit 1 | ||
fi | ||
- name: Build the DEB package using debuild | ||
|