99d5350b30
Two new utilities in C have been created: - xbps-digest: shows the SHA256 hash for a file. - xbps-pkgdb: handles dependency stuff via proplib. Templates should use now $build_depends and change $checksum to be a SHA256 hash. That means that I'm currently using xbps on Linux and I lost interest on NetBSD, perhaps I'll add support for it in the future. Only git and its dependencies have been converted, as well as vim. --HG-- extra : convert_revision : 53a7e030ca6b6d02bb6cd3e51d42b7d5702c1b57
14 lines
282 B
Makefile
14 lines
282 B
Makefile
# Override PREFIX to look in correct path.
|
|
#
|
|
PREFIX ?= /usr/local
|
|
CFLAGS += -Wall -Werror -I$(PREFIX)/include
|
|
LDFLAGS += -L$(PREFIX)/lib -Wl,-R$(PREFIX)/lib -lprop
|
|
|
|
all: xbps-pkgdb
|
|
|
|
xbps-pkgdb: xbps-pkgdb.o
|
|
$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
|
|
|
|
clean:
|
|
-rm -f *.o *.core xbps-pkgdb
|