1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-26 01:04:05 +02:00

abook: use ASCII for drawing boxes

This commit is contained in:
kyak 2010-11-09 22:28:56 +03:00
parent 8e47e366c4
commit 41b5356443
3 changed files with 4 additions and 2 deletions

View File

@ -27,9 +27,10 @@ endef
CONFIGURE_ARGS+="--with-curses=$(STAGING_DIR)/lib" CONFIGURE_ARGS+="--with-curses=$(STAGING_DIR)/lib"
define Package/abook/install define Package/abook/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin $(1)/etc
$(INSTALL_BIN) $(PKG_BUILD_DIR)/abook $(1)/usr/bin/abook.bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/abook $(1)/usr/bin/abook.bin
$(INSTALL_BIN) $(FILES_DIR)/abook.sh $(1)/usr/bin/abook $(INSTALL_BIN) $(FILES_DIR)/abook.sh $(1)/usr/bin/abook
$(INSTALL_DATA) $(FILES_DIR)/abookrc $(1)/etc
endef endef
$(eval $(call BuildPackage,abook)) $(eval $(call BuildPackage,abook))

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
/usr/sbin/setfont2 /usr/share/setfont2/un-fuzzy-4x8-font.pnm /usr/sbin/setfont2 /usr/share/setfont2/un-fuzzy-4x8-font.pnm
/usr/bin/abook.bin /usr/bin/abook.bin -C /etc/abookrc $*
/usr/sbin/setfont2 /usr/share/setfont2/un-fuzzy-6x10-font.pnm /usr/sbin/setfont2 /usr/share/setfont2/un-fuzzy-6x10-font.pnm

1
abook/files/abookrc Normal file
View File

@ -0,0 +1 @@
set use_ascii_only=true