Magellan Linux

Diff of /trunk/mage/usr/lib/mage/smage2.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 600 by niro, Mon Nov 5 17:08:33 2007 UTC revision 832 by niro, Sun Apr 26 15:57:42 2009 UTC
# Line 4  Line 4 
4  # needs pkgbuild_dir (mage)  # needs pkgbuild_dir (mage)
5    
6  # SMAGE2  # SMAGE2
7  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.60 2007-11-05 17:08:33 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.62 2007-11-28 10:47:50 niro Exp $
8    
9  #01.10.2004  #01.10.2004
10  # added ccache support  # added ccache support
# Line 452  munpack() Line 452  munpack()
452   unzip ${SOURCEDIR}/${PNAME}/${SRCFILE} -d ${DEST} || die ".zip unpack failed."   unzip ${SOURCEDIR}/${PNAME}/${SRCFILE} -d ${DEST} || die ".zip unpack failed."
453   ;;   ;;
454   rpm)   rpm)
455   pushd ${BUILDDIR} > /dev/null   pushd ${DEST} > /dev/null
456   rpm2targz ${SOURCEDIR}/${PNAME}/${SRCFILE} || die "rpm2targz: .rpm unpack failed."   rpm2targz ${SOURCEDIR}/${PNAME}/${SRCFILE} || die "rpm2targz: .rpm unpack failed."
457   tar --no-same-owner -xvzf ${SRCFILE/.rpm/.tar.gz/} || die "tar: .rpm unpack failed."   tar --no-same-owner -xvzf ${SRCFILE/.rpm/.tar.gz} || die "tar: .rpm unpack failed."
458   [[ -f ${BUILDDIR}/${SRCFILE/.rpm/.tar.gz/} ]] && rm ${BUILDDIR}/${SRCFILE/.rpm/.tar.gz/}   if [[ -f ${DEST}/${SRCFILE/.rpm/.tar.gz} ]]
459     then
460     rm ${DEST}/${SRCFILE/.rpm/.tar.gz}
461     fi
462   ;;   ;;
463   *)   *)
464   die "munpack failed"   die "munpack failed"
# Line 647  EOF Line 650  EOF
650  # special tags:  # special tags:
651  #   PKGTYPE               type of pkg  #   PKGTYPE               type of pkg
652  #   INHERITS              which functions get included  #   INHERITS              which functions get included
653  #   SPECIAL_FUNCTIONS     special functions wich should also be added  #   SPECIAL_FUNCTIONS     special functions which should also be added
654  #                         warning: they get killed before the build starts !  #                         warning: they get killed before the build starts !
655  #  #
656  #   MAGE_TREE_DEST        target destination of the generated tree  #   MAGE_TREE_DEST        target destination of the generated tree
# Line 683  build_mage_script() Line 686  build_mage_script()
686   > ${dest}   > ${dest}
687    
688   # header   # header
689   echo '# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.60 2007-11-05 17:08:33 niro Exp $' >> ${dest}   echo '# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.62 2007-11-28 10:47:50 niro Exp $' >> ${dest}
690   echo  >> ${dest}   echo  >> ${dest}
691    
692   # pgkname and state   # pgkname and state

Legend:
Removed from v.600  
changed lines
  Added in v.832