mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 10:01:57 +00:00
parent
cfea0ea97d
commit
b5f1af6af0
1
repos/libports/lib/import/import-libbz2.mk
Normal file
1
repos/libports/lib/import/import-libbz2.mk
Normal file
@ -0,0 +1 @@
|
||||
INC_DIR += $(call select_from_ports,bzip2)/include/libbz2
|
12
repos/libports/lib/mk/libbz2.mk
Normal file
12
repos/libports/lib/mk/libbz2.mk
Normal file
@ -0,0 +1,12 @@
|
||||
LIBBZ2_DIR := $(call select_from_ports,bzip2)/src/lib/libbz2
|
||||
LIBS += libc
|
||||
|
||||
BIGFILES = -D_FILE_OFFSET_BITS=64
|
||||
CC_DEF += -Winline $(BIGFILES)
|
||||
|
||||
SRC_C = blocksort.c huffman.c crctable.c randtable.c \
|
||||
compress.c decompress.c bzlib.c
|
||||
|
||||
vpath %.c $(LIBBZ2_DIR)
|
||||
|
||||
# Bzip2 upstream recommends using a static library.
|
1
repos/libports/ports/bzip2.hash
Normal file
1
repos/libports/ports/bzip2.hash
Normal file
@ -0,0 +1 @@
|
||||
aac3680adeff7cb60bf7d04f6a17ee4592400a72
|
10
repos/libports/ports/bzip2.port
Normal file
10
repos/libports/ports/bzip2.port
Normal file
@ -0,0 +1,10 @@
|
||||
LICENSE := BSD
|
||||
DOWNLOADS := bzip2.archive
|
||||
VERSION := 1.0.6
|
||||
|
||||
URL(bzip2) := http://bzip.org/$(VERSION)/bzip2-$(VERSION).tar.gz
|
||||
SHA(bzip2) := 3f89f861209ce81a6bab1fd1998c0ef311712002
|
||||
DIR(bzip2) := src/lib/libbz2
|
||||
|
||||
DIRS := include/libbz2
|
||||
DIR_CONTENT(include/libbz2) := src/lib/libbz2/bzlib.h
|
5
repos/libports/src/test/libports/libbz2/target.mk
Normal file
5
repos/libports/src/test/libports/libbz2/target.mk
Normal file
@ -0,0 +1,5 @@
|
||||
TARGET = test-libbz2
|
||||
LIBS = libbz2
|
||||
SRC_CC = main.cc
|
||||
|
||||
vpath main.cc $(PRG_DIR)/..
|
Loading…
x
Reference in New Issue
Block a user