blob: 150034318b17310dd0dd3b05c9a70dc8fb3ad4bb (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2004/08/15 00:45:50 schmonz Exp $
#
DISTNAME= syncdir-1.0
CATEGORIES= devel
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://untroubled.org/syncdir/
COMMENT= Implementation of open, link, rename, and unlink
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_LIBTOOL= # defined
INSTALLATION_DIRS= lib
do-build:
cd ${WRKSRC}; \
${PKG_LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c syncdir.c; \
${PKG_LIBTOOL} --mode=link ${CC} ${LDFLAGS} -version-info 1:0:0 -rpath ${PREFIX}/lib -o libsyncdir.la syncdir.lo
do-install:
cd ${WRKSRC}; \
${PKG_LIBTOOL} --mode=install ${INSTALL_LIB} -c libsyncdir.la ${PREFIX}/lib/libsyncdir.la; \
${PKG_LIBTOOL} --mode=install ${INSTALL_LIB} -c .libs/libsyncdir.a ${PREFIX}/lib/libsyncdir.a
.include "../../mk/bsd.pkg.mk"
|