pkgsrc/archivers/lzmalib/buildlink3.mk
obache e4188ec6e6 Import lzmalib-0.0.1 as archivers/lzmalib.
This package includes a thin wrapper library of LZMA SDK written
by Igor Pavlov.
2008-09-04 12:07:15 +00:00

19 lines
582 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/04 12:07:15 obache Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LZMALIB_BUILDLINK3_MK:= ${LZMALIB_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= lzmalib
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlzmalib}
BUILDLINK_PACKAGES+= lzmalib
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lzmalib
.if ${LZMALIB_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.lzmalib+= lzmalib>=0.0.1
BUILDLINK_PKGSRCDIR.lzmalib?= ../../archivers/lzmalib
.endif # LZMALIB_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}