1 ################################################################################
5 ################################################################################
7 SKALIBS_VERSION
= 2.4.0.2
8 SKALIBS_SITE
= http
://skarnet.org
/software
/skalibs
10 SKALIBS_LICENSE_FILES
= COPYING
11 SKALIBS_INSTALL_STAGING
= YES
15 --with-default-path
=/sbin
:/usr
/sbin
:/bin
:/usr
/bin \
16 $(SHARED_STATIC_LIBS_OPTS
)
18 define SKALIBS_CONFIGURE_CMDS
19 (cd
$(@D
); $(TARGET_CONFIGURE_OPTS
) .
/configure
$(SKALIBS_CONF_OPTS
))
22 define SKALIBS_BUILD_CMDS
23 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
)
26 define SKALIBS_INSTALL_TARGET_CMDS
27 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) install
28 rm -rf
$(TARGET_DIR
)/usr
/lib
/skalibs
31 define SKALIBS_INSTALL_STAGING_CMDS
32 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) DESTDIR
=$(STAGING_DIR
) install
35 HOST_SKALIBS_CONF_OPTS
= \
36 --prefix=$(HOST_DIR
)/usr \
41 define HOST_SKALIBS_CONFIGURE_CMDS
42 (cd
$(@D
); $(HOST_CONFIGURE_OPTS
) .
/configure
$(HOST_SKALIBS_CONF_OPTS
))
45 define HOST_SKALIBS_BUILD_CMDS
46 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
)
49 define HOST_SKALIBS_INSTALL_CMDS
50 $(HOST_MAKE_ENV
) $(MAKE
) -C
$(@D
) install
53 $(eval
$(generic-package
))
54 $(eval
$(host-generic-package
))