CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
pkgutils-cross.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
README: removed not need pkgutils-cross/src export PATH.
[pkgutils-cross.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 218a1100ff5ce2ce0ff2ed45d488f1f226a7514e..29d6927587da80222df0b248658180928ea05b41 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,13
+2,25
@@
# Makefile
#
# Makefile
#
-all: src/pkgmk
src/pkgmk.conf
+all: src/pkgmk
.conf src/pkgmk pkginfo pkgadd
src/pkgmk:
src/pkgmk:
- @make -C src
+ @if grep -e ubuntu /proc/version >/dev/null; then \
+ make -C src LDFLAGS="-static -larchive -lz -lacl"; \
+ else \
+ make -C src; \
+ fi
+ @chmod a+x src/pkgmk
+
+pkginfo:
+ @ln -s src/pkgadd pkginfo
+
+pkgadd:
+ @ln -s src/pkgadd pkgadd
clean:
@make -C src clean
clean:
@make -C src clean
+ @rm -f pkginfo pkgadd
distclean:
@make -C src distclean
distclean:
@make -C src distclean