update 2026-05-27 19:55:46

This commit is contained in:
action committed 2026-05-27 19:55:46 +08:00
1 parent 762a95b5ae
commit 84f707b52b
758 files changed
-362299

No files matched your search

-57
View File
@@ -1,57 +0,0 @@
#
# Copyright (C) 2006-2009 OpenWrt.org
# Copyright (C) 2005-2016 Weijie Gao <hackpascal@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=brlaser
PKG_VERSION:=v3
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://github.com/pdewacht/brlaser.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=2a49e3287c70c254e7e3ac9dabe9d6a07218c3fa
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/brlaser
SECTION:=print
CATEGORY:=Printing and Imaging
TITLE:=Driver for (some) Brother laster printers
DEPENDS:=+libcupsimage +libstdcpp
MAINTAINER:=Weijie Gao <hackpascal@gmail.com>
URL:=https://github.com/pdewacht/brlaser
endef
define Package/brlaser/description
Driver for Brother DCP-7030 / Brother DCP-7055 / Brother DCP-7065DN
endef
define Package/brlaser/install
$(INSTALL_DIR) $(1)/usr/lib/cups/filter
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/cups/filter/rastertobrlaser $(1)/usr/lib/cups/filter/
$(INSTALL_DIR) $(1)/usr/share/cups/drv
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/cups/drv/brlaser.drv $(1)/usr/share/cups/drv/
(cd $(PKG_BUILD_DIR) && ppdc brlaser.drv)
$(INSTALL_DIR) $(1)/usr/share/ppd/Brother
$(CP) $(PKG_BUILD_DIR)/ppd/*.ppd $(1)/usr/share/ppd/Brother
$(INSTALL_DIR) $(1)/etc/uci-defaults
$(INSTALL_BIN) ./files/brlaser-set-cups-filter-permission $(1)/etc/uci-defaults/
endef
$(eval $(call BuildPackage,brlaser))
@@ -1,3 +0,0 @@
#!/bin/sh
[ -d /usr/lib/cups/filter ] && chmod 0754 /usr/lib/cups/filter/*