mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-13 16:44:10 +01:00
2024-01-12 Fred Gleason <fredg@paravelsystems.com>
* Updated the build system to DEB packages to support environments with no HPI support. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -24,7 +24,12 @@
|
||||
# Generate Debian packaging metadata
|
||||
#
|
||||
DATESTAMP=`date +%a,\ %d\ %b\ %Y\ %T\ %z`
|
||||
if test -f /usr/include/asihpi/hpi.h ; then
|
||||
HPKLINUX_DEP="\,hpklinux-dev"
|
||||
fi
|
||||
sed s/@VERSION@/`cat versions/PACKAGE_VERSION`/ < debian/control.src > debian/control
|
||||
sed s/@HPKLINUX_DEP@/$HPKLINUX_DEP/ <debian/control.src > debian/control.src2
|
||||
sed s/@VERSION@/`cat versions/PACKAGE_VERSION`/ < debian/control.src2 > debian/control
|
||||
sed s/@VERSION@/`cat versions/PACKAGE_VERSION`/ < debian/changelog.src | sed "s/@DATESTAMP@/$DATESTAMP/" > debian/changelog
|
||||
sed s/@PYTHONAPI_VERSION@/`cat versions/PYTHONAPI_VERSION`/ < debian/rules.src > debian/rules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user