]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
new mkbuild sections acting as hooks
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 14 Oct 2009 17:57:29 +0000 (17:57 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Wed, 14 Oct 2009 17:57:29 +0000 (17:57 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@824 04377dda-e619-0410-9926-eae83683ac58

trunk/doc/CHANGELOG
trunk/mkbuild/generic.mkSlackBuild
trunk/mkbuild/kde4.mkSlackBuild
trunk/mkbuild/model.mkbuild
trunk/mkbuild/perl.mkSlackBuild
trunk/mkbuild/python.mkSlackBuild

index f6d68e8f521fcfb7d1b535f3888bb915f3bf248e..68cecf2c5fce03b311c944d38278bd980636553d 100644 (file)
@@ -1,6 +1,18 @@
 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
 ===
 
index 8d98026f244193f046abe6d10b36ff1f28c28ad8..985485a1b808de161597d8900f6f20291a37def0 100644 (file)
@@ -357,6 +357,10 @@ find . \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
  -exec chmod 644 {} \;
 </files_permissions>
 
+<pre_configure> off
+# Placeholder for customization
+</pre_configure>
+
 <configure> off
 # Configure
 CFLAGS="$SLKCFLAGS" \
@@ -365,16 +369,28 @@ 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"
index 00523194d5da6e772e013f91322c8b4143738924..ac42474875abe59fff4831690418cf8f0971d8bf 100644 (file)
@@ -344,6 +344,10 @@ find . \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
  -exec chmod 644 {} \;
 </files_permissions>
 
+<pre_configure> off
+# Placeholder for customization
+</pre_configure>
+
 <configure> off
 # Configure
 mkdir -p build
@@ -359,17 +363,29 @@ cd 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"
index d5f05f06383a7fff273e26370f74ca4eeace1900..cb3d9802d73dfa9a5e891c6f778bb6a391a4714d 100644 (file)
@@ -150,9 +150,13 @@ off: gpg_signature_check
  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
index 9e07195626baa0674130647091e96d60439bba29..ea2451c047b41fbb75cf8d77abfd40a41ab5d854 100644 (file)
@@ -296,11 +296,19 @@ for patch in $patches; do
 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
@@ -311,6 +319,10 @@ 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
@@ -323,6 +335,10 @@ for file in `find $PKG -name .packlist`; do
 done
 </install_package>
 
+<post_install_package> off
+# Placeholder for customization
+</post_install_package>
+
 <strip_binaries> off
 # Strip binaries
 ( cd "$PKG"
index 46fec3024ee8f0c5c1ea696a97255d061da5b2d8..9ca43a8084151247d62c9eccc606521020204932 100644 (file)
@@ -357,21 +357,37 @@ find . \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
  -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"