blob: 45c36fa284f0f4c8d3cf3567ad14d38b9ece9340 (
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.7 2005/09/28 20:52:20 rillig Exp $
#
DISTNAME= syncdir-1.0
PKGREVISION= 1
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_LIBTOOL= yes
INSTALLATION_DIRS= lib
do-build:
cd ${WRKSRC} && ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} -c syncdir.c
cd ${WRKSRC} && ${LIBTOOL} --mode=link ${CC} ${LDFLAGS} \
-o libsyncdir.la syncdir.lo \
-version-info 1:0:0 -rpath ${PREFIX}/lib
do-install:
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} \
-c libsyncdir.la ${PREFIX}/lib/libsyncdir.la
.include "../../mk/bsd.pkg.mk"
|