Hi Ralph,
>
> -do-install:
> - PREFIX="${IDIR_SHOREWALL}" ${WRKBUILD}/install.sh -n
> - sh ./downstrip ${IDIR_SHOREWALL}/etc/shorewall
> - sh ./downstrip ${IDIR_SHOREWALL}/usr/share/shorewall
> - rm -f ${IDIR_SHOREWALL}/etc/init.d/shorewall
> - ${INSTALL_DIR} ${IDIR_SHOREWALL}/etc/init.d
> - ${INSTALL_BIN} ./files/shorewall.init
> ${IDIR_SHOREWALL}/etc/init.d/S${PKG_INIT}${PKG_NAME}
> +$(IPKG_SHOREWALL):
> + # make use of shorewalls install script
> + PREFIX="$(IDIR_SHOREWALL)" $(WRKBUILD)/install.sh -n
> + mkdir -p $(WRKBUILD)/etc/
> + mv $(IDIR_SHOREWALL)/etc/shorewall $(WRKBUILD)/etc/
> + sh ./downstrip $(IDIR_SHOREWALL)/usr/share/shorewall
> + # use our own init script
> + install -d -m0755 $(IDIR_SHOREWALL)/etc/init.d
> + cp ./files/shorewall.init
> $(IDIR_SHOREWALL)/etc/init.d/S${PKG_INIT}shorewall
> + chmod +x $(IDIR_SHOREWALL)/etc/init.d/S${PKG_INIT}shorewall
> + rm -f $(IDIR_SHOREWALL)/etc/init.d/shorewall
> + rm -rf $(IDIR_SHOREWALL)/var
> + rm -rf $(IDIR_SHOREWALL)/usr/share/shorewall/configfiles
This is not longer correct. It is 1.0 syntax. Please take a look at
the other packages, how to handle one source multiple bin packages.
thx
Waldemar
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers