blob: 14a2dadddc89ca66f74b71c167b8561b1170de23 [file] [log] [blame]
package_arch = $(subst -,_,${PACKAGE_ARCH})
all:
install:
find -name "*.$(package_arch).rpm" | while read i; do echo $${i}; ${bindir}/rpm2cpio $${i} | cpio -idmv ; done
install -d $(DESTDIR)/usr/bin/
install -m 0755 usr/bin/met-cmd $(DESTDIR)/usr/bin
install -m 0755 usr/bin/rmt_server $(DESTDIR)/usr/bin
uninstall:
rm -f $(DESTDIR)/usr/bin/met-cmd
rm -f $(DESTDIR)/usr/bin/rmt_server
clean:
rm -rf usr/