How to compile cups into OpenWrt?

help me plz

When I compile cups according to the official instructions of OpenWrt, there is always an error. This error is caused by the makefile, but I don't know how to modify it.
https://openwrt.org/docs/guide-user/services/print_server/cups.server)

However, the project on github has not been updated for a long time, and the author cannot be contacted.
https://github.com/Gr4ffy/lede-cups)

The main reason for this error is that the libcups.so file is not in this /home/londy/lede/build_dir/target-mipsel_24kc_musl/cups-2.2.10/ipkg-install/ path. but in /home/londy/lede/build_dir/target-mipsel_24kc_musl/cups-2.2.10cups/ path

cp -fpR /home/londy/lede/build_dir/target-mipsel_24kc_musl/cups-2.2.10/ipkg-install/libcups.so* /home/londy/lede/build_dir/target-mipsel_24kc_musl/cups-2.2.10/ipkg-mipsel_24kc/libcups/usr/lib/
cp: cannot stat '/home/londy/lede/build_dir/target-mipsel_24kc_musl/cups-2.2.10/ipkg-install/libcups.so*': No such file or directory
make[2]: *** [Makefile:316: /home/londy/lede/bin/packages/mipsel_24kc/cups/libcups_2.2.10-1_mipsel_24kc.ipk] Error 1
make[2]: Leaving directory '/home/londy/lede/feeds/cups/cups'
time: package/feeds/cups/cups/compile#89.53#21.47#104.93
make[1]: *** [package/Makefile:109: package/feeds/cups/cups/compile] Error 2
make[1]: Leaving directory '/home/londy/lede'
make: *** [/home/londy/lede/include/toplevel.mk:218:package/cups/compile]  Error 2

How should I modify the makefile to let it execute the command in the correct path?


what release/version are you running...? current code... works perfectly

( edit: i noticed that the wiki referenced the Legacy repo / feed... please just try the official package )