Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff
webif
webif-Makefile.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File webif-Makefile.diff of Package webif
Index: webif/Makefile =================================================================== --- webif.orig/Makefile +++ webif/Makefile @@ -1,15 +1,15 @@ -include $(TOPDIR)/rules.mk +#include $(TOPDIR)/rules.mk PKG_NAME:=webif PKG_VERSION:=0.3 PKG_RELEASE:=6 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/kernel.mk +#include $(INCLUDE_DIR)/package.mk +#include $(INCLUDE_DIR)/kernel.mk define Package/webif SECTION:=admin CATEGORY:=Administration @@ -322,4 +322,25 @@ $(eval $(call BuildPackage,webif-lang-zh $(eval $(call BuildPackage,webif-theme-zephyr)) $(eval $(call BuildPackage,webif-theme-xwrt)) $(eval $(call BuildPackage,webif-theme-xwrt-mini)) $(eval $(call BuildPackage,webif-theme-sedky1)) + +CC = gcc +RPM_OPT_FLAGS = -O2 -Wall +CFLAGS = $(RPM_OPT_FLAGS) -Os -D_METAPACK +BINDIR = /usr/bin +DESTDIR = + +default: webifmetabin + +webifmetabin: src/int2human/main.c src/int2human/human_readable.c src/wepkeygen/keygen.c src/wepkeygen/md5.c src/webif-page.c src/bstrip.c src/webifmetabin.c + $(CC) $(CFLAGS) -o $@ $^ + +install: webifmetabin + mkdir -p $(DESTDIR)$(BINDIR) + install $< $(DESTDIR)$(BINDIR)/ + ln -s $< $(DESTDIR)$(BINDIR)/webif-page + ln -s $< $(DESTDIR)$(BINDIR)/bstrip + ln -s $< $(DESTDIR)$(BINDIR)/wepkeygen + ln -s $< $(DESTDIR)$(BINDIR)/int2human + +
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor