1 DESCRIPTION
= "GNU cpio is a program to manage archives of files."
2 HOMEPAGE
= "http://www.gnu.org/software/cpio/"
7 DEPENDS
+= " texinfo-native "
9 SRC_URI
= "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \
11 S
= "${WORKDIR}/cpio-${PV}"
17 install
-d $
{D
}$
{base_bindir
}/
18 mv
"${D}${bindir}/cpio" "${D}${base_bindir}/cpio.${PN}"
21 *) mv
"${D}${libexecdir}/rmt" "${D}${libexecdir}/rmt.${PN}" ;;
25 pkg_postinst_$
{PN
} () {
26 update
-alternatives
--install $
{base_bindir
}/cpio cpio cpio.$
{PN
} 100
27 if [ -f $
{libexecdir
}/rmt.$
{PN
} ]
29 update
-alternatives
--install $
{libexecdir
}/rmt rmt rmt.$
{PN
} 50
34 update
-alternatives
--remove cpio cpio.$
{PN
}
35 if [ -f $
{libexecdir
}/rmt.$
{PN
} ]
37 update
-alternatives
--remove rmt rmt.$
{PN
}
41 SRC_URI
[md5sum
] = "e02859af1bbbbd73fcbf757acb57e0a4"
42 SRC_URI
[sha256sum
] = "dbf79293d0cafa7d7a3a266c2b0b90c00d556e7b3185d4243c74153291da24c8"