simplepkg changelog
===================
+current
+=======
+
+ - new mkbuild sections acting as hooks:
+ - pre_configure
+ - configure
+ - pre_make_package
+ - make_package
+ - pre_install_package
+ - install_package
+ - post_install_package
+
0.6
===
-exec chmod 644 {} \;
</files_permissions>
+<pre_configure> off
+# Placeholder for customization
+</pre_configure>
+
<configure> off
# Configure
CFLAGS="$SLKCFLAGS" \
--prefix="$PREFIX" --libdir="$LIBDIR" $CONF_OPTIONS || exit $ERROR_CONF
</configure>
+<pre_make_package> off
+# Placeholder for customization
+</pre_make_package>
+
<make_package> off
# Compile
make $NUMJOBS || exit $ERROR_MAKE
</make_package>
+<pre_install_package> off
+# Placeholder for customization
+</pre_install_package>
+
<install_package> off
# Install
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
</install_package>
+<post_install_package> off
+# Placeholder for customization
+</post_install_package>
+
<strip_binaries> off
# Strip binaries
( cd "$PKG"
-exec chmod 644 {} \;
</files_permissions>
+<pre_configure> off
+# Placeholder for customization
+</pre_configure>
+
<configure> off
# Configure
mkdir -p build
..
</configure>
+<pre_make_package> off
+# Placeholder for customization
+</pre_make_package>
+
<make_package> off
- # Compile
- make $NUMJOBS || exit $ERROR_MAKE
+# Compile
+make $NUMJOBS || exit $ERROR_MAKE
</make_package>
+<pre_install_package> off
+# Placeholder for customization
+</pre_install_package>
+
<install_package> off
- # Install
- make install DESTDIR=$PKG || exit $ERROR_INSTALL
+# Install
+make install DESTDIR=$PKG || exit $ERROR_INSTALL
cd -
</install_package>
+<post_install_package> off
+# Placeholder for customization
+</post_install_package>
+
<strip_binaries> off
# Strip binaries
( cd "$PKG"
on: manifest_check
on: untar_source
off: patch_source
+off: pre_configure
on: configure
+off: pre_make_package
on: make_package
+off: pre_install_package
on: install_package
+off: post_install_package
on: strip_binaries
off: compress_manpages
off: compress_info_files
done
</patch_source>
+<pre_configure> off
+# Placeholder for customization
+</pre_configure>
+
<configure> off
# Configure
perl Makefile.PL || exit $ERROR_CONF
</configure>
+<pre_make_package> off
+# Placeholder for customization
+</pre_make_package>
+
<make_package> off
# Compile
make $NUMJOBS || exit $ERROR_MAKE
make test
</test_package>
+<pre_install_package> off
+# Placeholder for customization
+</pre_install_package>
+
<install_package> off
# Install
make install DESTDIR="$PKG" || exit $ERROR_INSTALL
done
</install_package>
+<post_install_package> off
+# Placeholder for customization
+</post_install_package>
+
<strip_binaries> off
# Strip binaries
( cd "$PKG"
-exec chmod 644 {} \;
</files_permissions>
+<pre_configure> off
+# Placeholder for customization
+</pre_configure>
+
<configure> off
# Configure
#python setup.py
</configure>
+<pre_make_package> off
+# Placeholder for customization
+</pre_make_package>
+
<make_package> off
# Compile
python setup.py build || exit $ERROR_MAKE
</make_package>
+<pre_install_package> off
+# Placeholder for customization
+</pre_install_package>
+
<install_package> off
# Install
python setup.py install --root=$PKG || exit $ERROR_INSTALL
</install_package>
+<post_install_package> off
+# Placeholder for customization
+</post_install_package>
+
<strip_binaries> off
# Strip binaries
( cd "$PKG"