blob: 2ad3e571a56f9e555691cfe57c571daef8bfd293 (
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
|
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: localcopy
tar cfa $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
rm -rf $(PACKAGE)-$(VERSION)
localcopy:
rm -fr $(PACKAGE)-$(VERSION)
svn export -q -rBASE . $(PACKAGE)-$(VERSION)
clean:
rm -rf svn
submit: clean ci
mdvsys submit $(NAME)
|