Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-uilib.xml
AutopackageTarget: 1.2
InterfaceVersion: 1.1
-PackageFileName: doldaconnect-uilib.package
+PackageFileName: doldaconnect-uilib-@VERSION@.package
[Description]
The Dolda Connect interface library is used by programs for talking
SoftwareVersion: @VERSION@
AutopackageTarget: 1.2
Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-gtk.xml
-PackageFileName: doldaconnect-gtk.package
+PackageFileName: doldaconnect-gtk-@VERSION@.package
# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
SoftwareVersion: @VERSION@
AutopackageTarget: 1.2
Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-daemon.xml
-PackageFileName: doldaconnect-daemon.package
+PackageFileName: doldaconnect-daemon-@VERSION@.package
# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
SoftwareVersion: @VERSION@
Repository: http://www.dolda2000.com/~fredrik/doldaconnect/ap/doldaconnect-guishell.xml
AutopackageTarget: 1.2
-PackageFileName: doldaconnect-guishell.package
+PackageFileName: doldaconnect-guishell-@VERSION@.package
[BuildPrepare]
prepareBuild --enable-dolconf --enable-guishell --disable-gtk2ui --disable-daemon
./bootstrap
./configure
-packages="dcuilib dolcon doldacond guishell"
+packages="`cat autopackage/build`"
+version="`sed -n 's/^.* VERSION "\([^"]*\)".*$/\1/p' config.h`"
for pkg in $packages; do
sfile="autopackage/$pkg.apspec"
fi
make clean
PACKAGEFILENAME="$pname.package" makepackage "$sfile"
- mv "$pname.package" "$pname.package.meta" "$pname.xml" "$tempdir"
+ mv "$pname-$version.package" "$pname-$version.package.meta" "$pname.xml" "$tempdir"
done
rm -rf "$tempdir/doldaconnect"