blob: 198bf225ece5c419a7da0333ce6520cab42037e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
NAME=iurt
PACKAGE=$(NAME)
VERSION=0.6.6
VENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib)
INSTALLVENDORLIB = $(DESTDIR)$(VENDORLIB)
SVNSOFT=svn+ssh://svn.mageia.org/svn/soft/build_system/iurt/trunk/
SVNPACKAGE=svn+ssh://svn.mageia.org/svn/packages/cauldron/iurt/current/
sharedir=/usr/share
libdir=/usr/lib
bindir=/usr/bin
sbindir=/usr/sbin
install:
install -d $(bindir) $(sbindir) $(INSTALLVENDORLIB)/Iurt
install -m 644 lib/Iurt/*.pm $(INSTALLVENDORLIB)/Iurt
install -m755 iurt_root_command $(sbindir)/
install -m755 iurt2 $(bindir)/iurt
install -m755 emi ulri $(bindir)/
tar: dist
dist: dist-svn
dist-svn:
svn export -q -rBASE . $(PACKAGE)-$(VERSION)
tar cfa $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
clean:
rm -rf svn
submit: clean ci
mdvsys submit $(NAME)
|