Commits

Rodrigo Bistolfi  committed 300f366

Added waf.template

  • Participants
  • Parent commits 4f9d98c

Comments (0)

Files changed (1)

File usr/share/sbb/template/configure.waf

+#CONFIGURE & MAKE
+#----------------------------------------------------------------------
+# If you are building a KDE-related app, then change the following
+# arguments in the script below:
+# --prefix=$(kde-config -prefix) \
+# --sysconfdir=/etc/kde \
+#
+# Making these changes will ensure that your package will build in the
+# correct path and that it will work seamlessly within the KDE environment.
+#
+#-----------------------------------------------------------------------
+
+echo "Configuring source..."
+[%- UNLESS noconfig %]
+[%- SET configure = 
+'./waf configure --prefix=/usr \
+  --libdir=/usr/lib${LIBDIRSUFFIX} \
+  --infodir=/usr/info \
+  --sysconfdir=/etc \
+  --localstatedir=/var \
+  --mandir=/usr/man || exit 1' %]
+[%- END %]
+[% configure %]
+
+./waf build || exit 1
+./waf install --destdir=$PKG || exit 1
+