rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | package_arch = $(subst -,_,${PACKAGE_ARCH}) |
2 | |||||
3 | all: | ||||
4 | |||||
5 | install: | ||||
6 | find -name "*.$(package_arch).rpm" | while read i; do ${bindir}/rpm2cpio $${i} | cpio -idmv ; done | ||||
7 | install -d ${DESTDIR}/usr | ||||
8 | cp -rf usr/* ${DESTDIR}/usr/ | ||||
9 | clean: | ||||
10 | rm -rf usr |