Magellan Linux

Annotation of /smage/trunk/core/rpm2targz/rpm2targz-9.0.0.4g-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10441 - (hide annotations) (download)
Tue Aug 22 11:21:37 2017 UTC (6 years, 9 months ago) by niro
File size: 753 byte(s)
auto added: ver bump to 9.0.0.4g-r5
1 niro 10441 # $Id$
2    
3     PNAME="rpm2targz"
4     PVER="9.0.0.4g"
5     PBUILD="r5"
6    
7     PCAT="app-arch"
8    
9     DESCRIPTION="rpm2targz converts .rpm archives to .tar.gz archives."
10     HOMEPAGE="http://www.slackware.com/config/packages.php"
11    
12     DEPEND=">= virtual/glibc
13     >= app-arch/cpio-2.11
14     >= sys-apps/file-4
15     >= sys-apps/util-linux-2.18
16     >= virtual/which"
17    
18     SDEPEND=">= virtual/xz-utils"
19    
20     SRCFILE="${PNAME}-${PVER}.tar.xz"
21     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
22    
23     sminclude mbuild
24     msetfeature "!check"
25    
26     # check git repo
27     UP2DATE="echo ${PVER}"
28     SRC_URI=( mirror://${PNAME}/${SRCFILE} )
29    
30     src_prepare()
31     {
32     # busybox sometimes does not recorgnizes lzma right
33     install -d ${BUILDDIR} || die
34     tar xvaf ${SOURCEDIR}/${PNAME}/${SRCFILE} -C ${BUILDDIR} || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40     mmake || die
41     }