Magellan Linux

Contents of /smage/branches/alx07x-stable/core/rpm2targz/rpm2targz-9.0.0.4g-r5.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11234 - (show annotations) (download)
Tue Dec 19 12:02:12 2017 UTC (6 years, 4 months ago) by niro
File size: 753 byte(s)
-release branches/alx07x-stable
1 # $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 }