diff options
Diffstat (limited to 'package/flex')
-rw-r--r-- | package/flex/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/package/flex/Makefile b/package/flex/Makefile index bd7bc73f4..ca7f8112a 100644 --- a/package/flex/Makefile +++ b/package/flex/Makefile @@ -11,24 +11,18 @@ PKG_DESCR:= fast lexical analyzer PKG_SECTION:= lang PKG_URL:= http://flex.sourceforge.net/ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=${PKG_NAME}/} - -PKG_SUBPKGS:= FLEX FLEX_DEV -PKGSD_FLEX_DEV:= fast lexical analyzer (static library) -PKGSC_FLEX_DEV:= devel +PKG_OPTS:= dev include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -$(eval $(call PKG_template,FLEX_DEV,flex-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FLEX_DEV},${PKGSC_FLEX_DEV})) +$(eval $(call PKG_template,FLEX,flex,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) flex-install: ${INSTALL_DIR} ${IDIR_FLEX}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/flex ${IDIR_FLEX}/usr/bin - -flex-dev-install: + # workaround for dev subpackage ${INSTALL_DIR} ${IDIR_FLEX_DEV}/usr/lib ${CP} ${WRKINST}/usr/lib/libfl.a \ ${IDIR_FLEX_DEV}/usr/lib - include ${TOPDIR}/mk/pkg-bottom.mk |